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

Define VARIABLE?

1182


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1125


What is structure pointer in c?

1073


What is the best style for code layout in c?

1113


What is the difference between break and continue?

1564


Why is %d used in c?

1016


What is break statement?

1137


Explain how do you determine a file’s attributes?

1059


What is mean by data types in c?

1041


What is a macro in c preprocessor?

1111


What is #include called?

1071


What is a const pointer in c?

1143


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1084


How do you define structure?

1056


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2758