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...

What is the result
main()
{
char c=-64;
int i=-32
unsigned int u =-16;
if(c>i){
printf("pass1,");
if(c<u)
printf("pass2");
else
printf("Fail2");}
else
printf("Fail1);
if(i<u)
printf("pass2");
else
printf("Fail2")
}
a)Pass1,Pass2
b)Pass1,Fail2
c)Fail1,Pass2
d)Fail1,Fail2
e)none

Answer Posted / karthika

pass1 fail2

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c language in simple words?

1028


What are pointers?

1056


How many levels of pointers can you have?

1146


Which node is more powerful and can handle local information processing or graphics processing?

1279


Is there anything like an ifdef for typedefs?

1110


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

1161


how to construct a simulator keeping the logical boolean gates in c

2223


Why array is used in c?

980


c language interview questions & answer

1921


What are the similarities between c and c++?

1025


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1029


Explain c preprocessor?

1060


What is the stack in c?

1092


What is the collection of communication lines and routers called?

1079


Explain what is wrong with this statement? Myname = ?robin?;

1543