BETA
Output problem

What is the output in the following program ?

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

Login to Answer
Sort By:
Oldest
|
Newest
|
Vote
|
My Answer