Home » C Programming » Decision Making » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    int n = 0;
    if (n == 1)
    if (n >= 0)
    printf("True...\n");
    else
    printf("False...\n");
    }
    1. Compilation Error
    2. False...
    3. True...
    4. It will print nothing.
    5. None of these
Correct Option: D

It will print nothing.



Your comments will be displayed only after manual approval.