point out the error decision control structure in c
point out the error decision control structure in c
point out the error decision control structure in c
switch case program example output in c What would be the output of the following programs: main( ) { int k, j = 2 ; switch ( k = j + 1 ) { case 0 : printf ( “\nTailor”) ; case 1 : printf ( “\nTutor”) ; case 2 : printf ( “\nTramp”) … Read more
if else break c program example What would be output of the program: main( ) { int x = 4, y = 0, z ; while ( x >= 0 ) { if ( x == y ) break ; else printf ( ā\n%d %dā, x, y ) ; x– ; y++ ; } } … Read more
switch case what would be the output of the program main( ) { int k, j = 2 ; switch ( k = j + 1 ) { case 0 : printf ( “\nTailor”) ; case 1 : printf ( “\nTutor”) ; case 2 : printf ( “\nTramp”) ; default : printf ( “\nPure Simple … Read more
if else what would be the output of following program
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
c function program example c function program example Let’s discuss this on our discussion portal What would be the output of the following programs: main( ) { printf ( “\nC to it that C survives” ) ; main( ) ; }
else if question in c output of the following program