#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
Define VARIABLE?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is structure pointer in c?
What is the best style for code layout in c?
What is the difference between break and continue?
Why is %d used in c?
What is break statement?
Explain how do you determine a file’s attributes?
What is mean by data types in c?
What is a macro in c preprocessor?
What is #include called?
What is a const pointer in c?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
How do you define structure?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.