CP DML Q15

0. The following program fragment
for (i = 1; i< 5; ++ I )
if ( i == 3) continue;
else printf( " %d " i );
results in the printing of

  • Option : B
  • Explanation :
    The use of continue statement forces the execution to skip the remainder of the current pass over the loop and initiates the next. If ' U ' is 3. print f statement will be skipped. Hence the answer is b
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *