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 / bee
answer is c...
fail1,pass 2
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of ftell?
What is an array? What the different types of arrays in c?
What is identifiers in c with examples?
How does normalization of huge pointer works?
Explain output of printf("Hello World"-'A'+'B'); ?
How do you construct an increment statement or decrement statement in C?
code for replace tabs with equivalent number of blanks
Do string constants represent numerical values?
How do shell structures work?
difference between Low, Middle, High Level languages in c ?
Why do we use static in c?
Write a C program to count the number of email on text
Explain how can I open a file so that other programs can update it at the same time?
What is the g value paradox?
can anyone please tell about the nested interrupts?