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 / subbu

this program gives an error that comparison between signed
and unsigned int

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a nested formula?

599


What are the properties of union in c?

584


What are the types of unary operators?

656


Why isnt any of this standardized in c?

629


Explain enumerated types.

595






Write the control statements in C language

644


What is the meaning of ?

608


What does %d do?

711


Are the variables argc and argv are always local to main?

569


What are the 5 data types?

596


how to build a exercise findig min number of e heap with list imlemented?

1602


What is calloc()?

623


What is the difference between Printf(..) and sprint(...) ?

780


What is non linear data structure in c?

567


What is a example of a variable?

550