1.

What will be the output of the program?

#include<stdio.h>
int main()
{ int k, num=30; k = (num>5 ? (num <=10 ? 100 : 200): 500); printf("%d n", num); return 0;
}

A. 200
B. 30
C. 100
D. 500
Answer» C. 100


Discussion

No Comment Found