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 / divyesh
Fail1, Pass2
| Is This Answer Correct ? | 23 Yes | 2 No |
Post New Answer View All Answers
How can a program be made to print the name of a source file where an error occurs?
What is %g in c?
What is pointer to pointer in c?
How can you convert integers to binary or hexadecimal?
What is c language in simple words?
What is 1f in c?
What would be an example of a structure analogous to structure c?
Why doesnt this code work?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What is the use of bitwise operator?
Does * p ++ increment p or what it points to?
What are the 4 data types?
What is the purpose of void pointer?
Explain about the functions strcat() and strcmp()?
Do you know what are bitwise shift operators in c programming?