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
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
Can variables be declared anywhere in c?
How can I send mail from within a c program?
Can you subtract pointers from each other? Why would you?
Who invented b language?
What is c language in simple words?
What is a structure member in c?
How is = symbol different from == symbol in c programming?
If you know then define #pragma?
What is non linear data structure in c?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What is the difference between declaring a variable and defining a variable?
Does sprintf put null character?
What is data type long in c?
Do character constants represent numerical values?