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 / nageswari

none

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you find a duplicate number in a array without negating the nos ?

1637


Which header file should you include if you are to develop a function which can accept variable number of arguments?

803


Who invented bcpl language?

699


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

632


Is c language still used?

533






What is multidimensional arrays

624


What are inbuilt functions in c?

556


What is use of pointer?

583


What are pointers? What are different types of pointers?

622


How do c compilers work?

602


What is string length in c?

605


4. main() { int c=- -2; printf("c=%d",c); }

1364


What is volatile variable in c with example?

581


What is main function in c?

545


Can we access array using pointer in c language?

640