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

How can I trap or ignore keyboard interrupts like control-c?

1117


can anyone please tell about the nested interrupts?

2190


What is modifier & how many types of modifiers available in c?

1074


What are the main characteristics of c language describe the structure of ac program?

1264


What is the benefit of using an enum rather than a #define constant?

1323


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

4019


Is c easier than java?

1125


How many types of errors are there in c language? Explain

1029


How a string is stored in c?

1120


What is the g value paradox?

1253


What is the difference between strcpy() and memcpy() function in c programming?

1135


Explain that why C is procedural?

1194


Differentiate between #include<...> and #include '...'

1116


Do variables need to be initialized?

1113


What Is The Difference Between Null And Void Pointer?

1336