Nguyễn Ngọc Huỳnh
New member
What will be the output of the following C code?
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
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");
}
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