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
largest Of three Number using without if condition?
What is an operator?
What is dynamic variable in c?
Are local variables initialized to zero by default in c?
What is meant by recursion?
How does free() know explain how much memory to release?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
what are the advantages of a macro over a function?
What is difference between && and & in c?
How do you view the path?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
What is self-referential structure in c programming?
Explain about block scope in c?
The difference between printf and fprintf is ?