Home » C Programming » Data Types » Question
  1. What will be the output of the following C code?
     #include <stdio.h>
    int main()
    {
    unsigned int n = 25;
    signed char ch = -25;
    if (n > ch)
    {
    printf("Yes\n");
    }
    else if (n < ch)
    {
    printf("No\n");
    }
    }
    1. Yes
    2. No
    3. Depends on the compiler
    4. Depends on the compiler
    5. None of these
Correct Option: B

No



Your comments will be displayed only after manual approval.