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 / nageswari
none
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
What does volatile do?
Explain the difference between exit() and _exit() function?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
how many errors in c explain deply
Where are c variables stored in memory?
What are the 3 types of structures?
Explain the difference between getch() and getche() in c?
What is static and volatile in c?
Give differences between - new and malloc() , delete and free() ?
What is void main ()?
How do you determine the length of a string value that was stored in a variable?
What is enumerated data type in c?
What are the features of c language?
Why main is not a keyword in c?
Is stack a keyword in c?