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 / karthika
pass1 fail2
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
can anyone suggest some site name..where i can get some good data structure puzzles???
What is a lvalue
Explain the properties of union.
Do you have any idea how to compare array with pointer in c?
The file stdio.h, what does it contain?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is else if ladder?
What is the size of empty structure in c?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What are global variables and explain how do you declare them?
Why do we use header files in c?
what is stack , heap ,code segment,and data segment
In C language, a variable name cannot contain?
What is calloc() function?
Explain how do you print an address?