#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

Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2976


Can a local variable be volatile in c?

571


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

1785


What are the various types of control structures in programming?

621


what are the advantages of a macro over a function?

637






what are enumerations in C

718


What does typedef struct mean?

650


What is #include stdio h and #include conio h?

592


Explain how can I read and write comma-delimited text?

646


Where is volatile variable stored?

639


What is c language & why it is used?

574


For what purpose null pointer used?

603


How can you check to see whether a symbol is defined?

583


What is the purpose of sprintf() function?

593


Describe newline escape sequence with a sample program?

645