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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started