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

No



Your comments will be displayed only after manual approval.