Examveda
Examveda

What will be the output of the following C code snippet?
#include <stdio.h>
void main()
{
    1 < 2 ? return 1: return 2;
}

A. returns 1

B. returns 2

C. Varies

D. Compile time error

Answer: Option D


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals