Consider the following function definition:
```
void tripler(int& n)
{ n = 3*n;}
```
a) Nothing is wrong with either bit of code.
b) There are not enough initializers for the array.
c) There is an illegal index in the loop.
d) There are too many initializers in for the array.
e) The call to the function requires different syntax.
d) is the error. c) is also an error unless you use j< 5 rather than j<= 5
Computer Science & Information Technology
You might also like to view...
It is impossible to create a data table from random, unorganized data
Indicate whether the statement is true or false
Computer Science & Information Technology
Which of the following command-line utilities is capable of making a forensic image of a hard disk, assuming that a valid form of write-protection is in place?
a. COPY b. XCOPY c. MOVE d. DD
Computer Science & Information Technology