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

answer is c...
fail1,pass 2

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us two differences between new () and malloc ()?

1143


What is a lookup table in c?

1067


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1108


Do you know the use of 'auto' keyword?

1147


What are linker error?

1055


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

992


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

1095


Explain a pre-processor and its advantages.

1098


Are pointers really faster than arrays?

989


What is the use of pointers in C?

1044


What is meant by int main ()?

1168


How can a process change an environment variable in its caller?

1158


What is union and structure?

1064


What is the use of a ‘’ character?

1051


Write a program to reverse a string.

1045