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 / divyesh
Fail1, Pass2
| Is This Answer Correct ? | 23 Yes | 2 No |
Post New Answer View All Answers
what do you mean by enumeration constant?
What is d scanf?
What is #include called?
What does main () mean in c?
Explain what are preprocessor directives?
Is array a primitive data type in c?
What is sizeof int in c?
Explain what math functions are available for integers? For floating point?
What are the advantages of using new operator as compared to the function malloc ()?
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
What is "Duff's Device"?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What header files do I need in order to define the standard library functions I use?
Are negative numbers true in c?
Can static variables be declared in a header file?