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

What is the best way to comment out a section of code that contains comments?

1346


How many levels of indirection in pointers can you have in a single declaration?

1094


Explain two-dimensional array.

1086


What is the use of ?

1044


What is scope and lifetime of a variable in c?

1079


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

1258


Explain pointer. What are function pointers in C?

1087


What is the purpose of 'register' keyword?

1103


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

1036


What are the advantage of c language?

1056


When we use void main and int main?

1092


What is malloc() function?

1173


Can you write a programmer for FACTORIAL using recursion?

1049


Why do we need volatile in c?

1183


number of times a digit is present in a number

2042