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
What is the best way to comment out a section of code that contains comments?
How many levels of indirection in pointers can you have in a single declaration?
Explain two-dimensional array.
What is the use of ?
What is scope and lifetime of a variable in c?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
Explain pointer. What are function pointers in C?
What is the purpose of 'register' keyword?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What are the advantage of c language?
When we use void main and int main?
What is malloc() function?
Can you write a programmer for FACTORIAL using recursion?
Why do we need volatile in c?
number of times a digit is present in a number