Suppose

```
void nPrint(char ch, int n)
{
while (n > 0)
{
cout << ch;
n--;
}
}
```
What is k after invoking nPrint('a', k)?

A. 0
B. 1
C. 2
D. 3

C. 2

Computer Science & Information Technology

You might also like to view...

If a user needs to apply conditional formatting to ONLY the five top values in a range of cells, Top/________ Rules should be used

Fill in the blank(s) with correct word

Computer Science & Information Technology

When moving your mouse pointer over a taskbar icon for an open program, a ________ of the file is displayed

A) dialog box B) Key tip C) thumbnail D) shortcut

Computer Science & Information Technology