#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


Please Help Members By Posting Answers For Below Questions

What is c programing language?

820


What is c variable?

782


Differentiate between Macro and ordinary definition.

967


How can I determine whether a machines byte order is big-endian or little-endian?

813


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1005


Do you know the difference between malloc() and calloc() function?

808


`write a program to display the recomended action depends on a color of trafic light using nested if statments

1872


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

6250


What is conio h in c?

804


Explain enumerated types.

792


Is it better to bitshift a value than to multiply by 2?

848


What is the best way of making my program efficient?

759


What is function definition in c?

776


Write the control statements in C language

857


What is data structure in c and its types?

802