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
Tell us two differences between new () and malloc ()?
What is a lookup table in c?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
Do you know the use of 'auto' keyword?
What are linker error?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Explain a pre-processor and its advantages.
Are pointers really faster than arrays?
What is the use of pointers in C?
What is meant by int main ()?
How can a process change an environment variable in its caller?
What is union and structure?
What is the use of a ‘ ’ character?
Write a program to reverse a string.