What is the result of the following code?
?
int xNum, yNum, zNum; 
?
yNum = 0;
zNum = 0;
do
{  
   for (xNum = 1; xNum < yNum; yNum += 1)
      zNum += xNum;
} while (zNum < 100);
cout

A. endless loop
B. zNum: 100
C. zNum: 110
D. syntax error


Answer: A

Computer Science & Information Technology

You might also like to view...

Enterprise network solutions typically offer which of the following in comparison with smaller network solutions?

A) More features B) Additional throughput C) Advanced capabilities D) All of the above

Computer Science & Information Technology

When running a slide show, pressing ________ will zoom out

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which type of content control enables the user to select, or not select, a specific option?

A) Check Box B) Drop-Down List C) Option Button D) Date Picker

Computer Science & Information Technology

What is the most common cause for digital noise in an image?

What will be an ideal response?

Computer Science & Information Technology