How many lines of output will be displayed by the following program fragment?
```
for (int i = 0; i< 5; ++i)
for (int j = 0; j < i; ++j)
cout << i << j << endl;
```
a. 5
b. 9
c. 10
d. 20
c. 10
Computer Science & Information Technology
You might also like to view...
A company's network is wired in a bus topology and one of the computers is unable to access the network. Which of the following is the FIRST step in the troubleshooting process?
A. Reinstall the NIC driver. B. Replace the cable. C. Check the cable connections. D. Replace the NIC
Computer Science & Information Technology
Escape sequences cannot be used in String literals.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology