What will be the output of the following function?
include <stdio.h>
void main() { int k,num=30; k = (num>5 ? (num <=10 ? 100:200) :500); printf(“%d”,num); }
Reveal answer
Fill a bubble to check yourself
What will be the output of the following function?
void main() { int k,num=30; k = (num>5 ? (num <=10 ? 100:200) :500); printf(“%d”,num); }