What will be the output of the following C code? [code] #include <stdio.h> int main() { int a = 1; if (a)

What will be the output of the following C code?
Code:
    #include <stdio.h>
    int main()
    {
        int a = 1;
        if (a)
            printf("All is Well ");
            printf("I am Well\n");
        else
            printf("I am not a River\n");
    }
A. Output will be All is Well I am Well
B. Output will be I am Well I am not a River
C. Output will be I am Well
D. Compile time errors during compilation
 

Tìm kiếm

Back
Top