Question: Qla (5 pt) The following program segment will nt counter do printr %i , counter ); 2 while (++counter 10) (a) print the numbers 1
Qla (5 pt) The following program segment will nt counter do printr %i ", counter ); 2 while (++counter 10) (a) print the numbers 1 through 11 (b) print the numbers 1 through 1o (c) print the numbers I through9 (d) cause a syntax eror Qb (5 pt) 7.0, b 7.0 and c 6.0, then what is printed by lfa printi( "962f", sqrt( a + b * c ) ); a) 49 b) 7.00 c) 7 d) 49.00 Qle (5 pt) Which of the following will generate an error? (a) if ( answer 7) printf "correct") else printf "incorrect") (b) printf answer7? "correct": "incorrect" ) (c) printi( "%s", answer-7 ? "correct": "incorrect" (d) answer7? printf "correct): printf "incorrect" How many times will the following program print hello? i - 1; while ( ?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
