What will be the output of the following “C” program?
		
					

Loading

Choose the correct option.

What will be the output of the following “C” program?


#include
int main(){
char c=-64;
int i=-32;
unsigned int u =-16;
if(c>i){
printf("pass1");
if(c printf("pass2");
else
printf("Fail2");
}
else
printf("Fail1”);

if(c==i)
printf("pass2");
else
printf("Fail2");
return 0;
}

A. Pass1Pass2
B. Pass1Fail2
C. Fail1Pass2
D. Fail1Fail2

Leave a Comment