A
Q. What will be the output of the following C code?
Code:
#include <stdio.h>
int main()
{
unsigned int n = 25;
signed char ch = -25;
if (n > ch)
{
printf("Yes
");
}
else if (n < ch)
{
printf("No
");
}
}
int main()
{
unsigned int n = 25;
signed char ch = -25;
if (n > ch)
{
printf("Yes
");
}
else if (n < ch)
{
printf("No
");
}
}
- Correct Answer - Option(B)
- Views: 8
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.