#include <stdio.h>
int main()
{
if ("X" <"x")
printf("X smaller than x
");
}
my question is whats the mistake in this program? find it and please tell me..
Answer Posted / preethi
#include <stdio.h>
void main()
{
int X,x;
if (X <x)
printf("X smaller than x");
}
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Where are c variables stored in memory?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
What is the difference between struct and union in C?
Why array is used in c?
What is far pointer in c?
What is the difference between int main and void main?
What is difference between %d and %i in c?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
What are pointers? Why are they used?
What is void main ()?
What are integer variable, floating-point variable and character variable?
Why is %d used in c?
The file stdio.h, what does it contain?
What is union in c?