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
How can I trap or ignore keyboard interrupts like control-c?
can anyone please tell about the nested interrupts?
What is modifier & how many types of modifiers available in c?
What are the main characteristics of c language describe the structure of ac program?
What is the benefit of using an enum rather than a #define constant?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Is c easier than java?
How many types of errors are there in c language? Explain
How a string is stored in c?
What is the g value paradox?
What is the difference between strcpy() and memcpy() function in c programming?
Explain that why C is procedural?
Differentiate between #include<...> and #include '...'
Do variables need to be initialized?
What Is The Difference Between Null And Void Pointer?