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
Is c still used?
What is the function of volatile in c language?
What does malloc () calloc () realloc () free () do?
When should I declare a function?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
How do you use a 'Local Block'?
List some applications of c programming language?
c program for searching a student details among 10 student details
List the different types of c tokens?
What is the difference between text files and binary files?
What is sizeof array in c?
What does node * mean?
What is c++ used for today?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
How are Structure passing and returning implemented by the complier?