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
What is a nested formula?
What are the properties of union in c?
What are the types of unary operators?
Why isnt any of this standardized in c?
Explain enumerated types.
Write the control statements in C language
What is the meaning of ?
What does %d do?
Are the variables argc and argv are always local to main?
What are the 5 data types?
how to build a exercise findig min number of e heap with list imlemented?
What is calloc()?
What is the difference between Printf(..) and sprint(...) ?
What is non linear data structure in c?
What is a example of a variable?