Nguyễn Tâm Hảo
New member
What will be the output of the following C code snippet?
A. returns 1
B. returns 2
C. Varies
D. Compile time error
Code:
#include <stdio.h>
void main()
{
1 < 2 ? return 1: return 2;
}
B. returns 2
C. Varies
D. Compile time error