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

this program gives an error that comparison between signed
and unsigned int

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain setjmp()?

1068


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

3319


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

1324


Distinguish between actual and formal arguments.

1080


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

2298


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

1130


What is c variable?

1042


What is the difference between typedef struct and struct?

1110


What is logical error?

1124


What is the difference between if else and switchstatement

1933


Why shouldn’t I start variable names with underscores?

1065


Explain the difference between ++u and u++?

1134


What is the difference between exit() and _exit() function?

1045


What is extern c used for?

1060


What does the error 'Null Pointer Assignment' mean and what causes this error?

1224