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 / subbu
this program gives an error that comparison between signed
and unsigned int
Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
What is malloc and calloc?
Do you know the difference between malloc() and calloc() function?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
What are types of preprocessor in c?
Disadvantages of C language.
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What is define c?
Why is this loop always executing once?
Explain goto?
What type is sizeof?
Explain what is the benefit of using an enum rather than a #define constant?
How can you draw circles in C?
What does stand for?
Who is the founder of c language?
What is the use of bit field?