Question: 4. ( 1.0 pts) This question is drawn from a pool of 3. Given the C codes below, how many times will it loop?
4. ( 1.0 pts) This question is drawn from a pool of 3. Given the C codes below, how many times will it loop?
\
\unsigned char X = 17;
\while( X >= 0)
\{ printf("I am stuck in this loop, hopefully not for long ... "); X = X - 1; }
5. ( 1.0 pts) This question is drawn from a pool of 3. Given the C codes below, how many times will it loop?
\unsigned char X = 18;
\while( X >= 0) {
\printf("I am stuck in this loop, hopefully not for long ... ");
\X = X - 1;
\} // end of while loop
6. ( 1.0 pts)This question is drawn from a pool of 3. Given the C codes below, how many times will it loop?
\unsigned char X = 19;
\while( X >= 0) {
\printf("I am stuck in this loop, hopefully not for long ... ");
\X = X - 1;
\} // end of while loop
}
; ***** CLOSE POOL ***** [#1]
can anyone explain the answer please? I am trying to learn C
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
