Suppose

```
void nPrint(char ch, int n)
{
while (n > 0)
{
cout << ch;
n--;
}
}
```

What is the printout of the call nPrint('a', 4)?

A. invalid call
B. aaaaa
C. aaaa
D. aaa


C. aaaa

Computer Science & Information Technology

You might also like to view...

A formula that references the cell in which the formula resides is called a _____.

A. recursive reference B. circular reference C. self-reference D. relative reference

Computer Science & Information Technology

An area on the recording surface of a CD-RW becomes opaque when it contains data

Indicate whether the statement is true or false

Computer Science & Information Technology

When a critical section must be protected for a long time, ________ are a better choice for implementing mutual exclusion.

a) reader/writer locks b) seqlocks c) kernel semaphores d) kernel monitors

Computer Science & Information Technology

A filter and a sort always produce the same results in an Access database

Indicate whether the statement is true or false

Computer Science & Information Technology