conditional operators c program example

c program for egg game

conditional operators c program example         What would be the output of the following programs: main( ) { int k, num = 30 ; k = ( num > 5 ? ( num <= 10 ? 100 : 200 ) : 500 ) ; printf ( “\n%d”, num ) ; }   … Read more