Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

#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


Please Help Members By Posting Answers For Below Questions

What are the valid places to have keyword “break”?

1061


How can you determine the maximum value that a numeric variable can hold?

1192


Explain how are 16- and 32-bit numbers stored?

1232


Difference between malloc() and calloc() function?

1159


Explain the difference between call by value and call by reference in c language?

1079


Explain what are header files and explain what are its uses in c programming?

1127


Is multithreading possible in c?

968


What is selection sort in c?

1045


Explain main function in c?

1058


Is there any data type in c with variable size?

1061


What is the auto keyword good for?

1099


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

1032


Write a program on swapping (100, 50)

1084


Why does notstrcat(string, "!");Work?

1102


Where static variables are stored in memory in c?

968