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

c) Fail1,Pass2..........

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by dynamic memory allocation in c?

644


Write a code of a general series where the next element is the sum of last k terms.

589


What does it mean when the linker says that _end is undefined?

625


Can you add pointers together? Why would you?

638


What is the size of a union variable?

596






What is a string?

664


Is linux written in c?

596


Why is c called "mother" language?

855


GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

678


What does != Mean in c?

582


What is #include stdio h?

678


Explain what is the most efficient way to store flag values?

692


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2000


Can i use “int” data type to store the value 32768? Why?

754


Why calloc is better than malloc?

568