The following function definition has an error in it. What line is this error on?

0. void f1(const double array[], int size)
1. {
2. int i=0;
3. while(i< size)
4. {
5. array[i] += 2;
6. cout < 7. i++;
8. }
9. }

a. 0
b. 2
c. 5
d. 6
e. 2

c. 5

Computer Science & Information Technology

You might also like to view...

State the values of each variable after the calculation is performed. Assume that, when each statement begins executing, all variables have the integer value 5.

a) product *= x++; b) quotient /= ++x;

Computer Science & Information Technology

No CSS3 functionality is implemented in any Web browsers yet.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology