A

Admin • 802.91K Points
Coach

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
");
}
}
  • (A) Yes
  • (B) No
  • (C) Depends on the compiler
  • (D) Depends on the compiler
  • Correct Answer - Option(B)
  • Views: 8
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.