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

How can I call a function with an argument list built up at run time?

1173


Can we add pointers together?

999


What does c value mean?

1114


What is the purpose of sprintf() function?

1052


Explain what is the difference between a string and an array?

1101


Differentiate call by value and call by reference?

915


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

2104


What is the use of bitwise operator?

1067


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

975


Apart from dennis ritchie who the other person who contributed in design of c language.

1321


Is c compiled or interpreted?

1128


What is use of pointer?

1010


What is the difference between void main and main in c?

1096


What is define directive?

1073


How can you allocate arrays or structures bigger than 64K?

1082