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 / divyesh

Fail1, Pass2

Is This Answer Correct ?    23 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a program be made to print the name of a source file where an error occurs?

1226


What is %g in c?

1080


What is pointer to pointer in c?

1114


How can you convert integers to binary or hexadecimal?

1037


What is c language in simple words?

1068


What is 1f in c?

2660


What would be an example of a structure analogous to structure c?

1000


Why doesnt this code work?

1064


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1725


What is the use of bitwise operator?

1132


Does * p ++ increment p or what it points to?

1119


What are the 4 data types?

1023


What is the purpose of void pointer?

1036


Explain about the functions strcat() and strcmp()?

1053


Do you know what are bitwise shift operators in c programming?

1105