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 the difference between strcpy() and memcpy() function?

949


Differentiate fundamental data types and derived data types in C.

984


What the different types of arrays in c?

1022


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1227


Describe static function with its usage?

1152


What are reserved words?

1046


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

2234


Is it acceptable to declare/define a variable in a c header?

1060


What are file streams?

965


Write a code on reverse string and its complexity.

981


What is a spanning Tree?

1501


What is meant by int main ()?

1155


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

1010


What is huge pointer in c?

1023


What is string function in c?

946