What is the value of the variable innerNum at the end of the execution of the following code?
?
int outerNum;
int innerNum;
for (outerNum = 1; outerNum < 2; outerNum++)
{
for (innerNum = 1; innerNum < 2; innerNum++)
cout
A. 1
B. 2
C. 3
D. 4
Answer: B
Computer Science & Information Technology
You might also like to view...
When Web pages were first developed in the early 1990s, they were created:
A) with HTML or XML. B) with a program like FrontPage. C) only with XML. D) only with HTML.
Computer Science & Information Technology
Signaling System Seven (SS7) is the protocol used to provide signaling services in the telephone network
a. true b. false
Computer Science & Information Technology