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
How can I call a function with an argument list built up at run time?
Can we add pointers together?
What does c value mean?
What is the purpose of sprintf() function?
Explain what is the difference between a string and an array?
Differentiate call by value and call by reference?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
What is the use of bitwise operator?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Apart from dennis ritchie who the other person who contributed in design of c language.
Is c compiled or interpreted?
What is use of pointer?
What is the difference between void main and main in c?
What is define directive?
How can you allocate arrays or structures bigger than 64K?