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
What do you mean by dynamic memory allocation in c?
Write a code of a general series where the next element is the sum of last k terms.
What does it mean when the linker says that _end is undefined?
Can you add pointers together? Why would you?
What is the size of a union variable?
What is a string?
Is linux written in c?
Why is c called "mother" language?
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)
What does != Mean in c?
What is #include stdio h?
Explain what is the most efficient way to store flag values?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Can i use “int” data type to store the value 32768? Why?
Why calloc is better than malloc?