#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 / raisa
character X and x should always be enclosed in single quotes
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the valid places to have keyword “break”?
How can you determine the maximum value that a numeric variable can hold?
Explain how are 16- and 32-bit numbers stored?
Difference between malloc() and calloc() function?
Explain the difference between call by value and call by reference in c language?
Explain what are header files and explain what are its uses in c programming?
Is multithreading possible in c?
What is selection sort in c?
Explain main function in c?
Is there any data type in c with variable size?
What is the auto keyword good for?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
Write a program on swapping (100, 50)
Why does notstrcat(string, "!");Work?
Where static variables are stored in memory in c?