Given this function prototype void CalcTotal(float numbers[]),what is wrong with this function?

```void CalcTotal(float numbers)
{
float total;
for(int I = 0; I < 6 ++I)
{
total = total + numbers[I];
}
}```
A. The function header line doesn’t match the prototype.
B. There is a data type in the function header line.
C. I is capitalized.
D. The function is correct.


A

Computer Science & Information Technology

You might also like to view...

When changing the number of elements in an array at run-time with the ReDim statement, existing values in the array are destroyed unless the __________ keyword is used.

a. Preserve b. Reserve c. ReDim d. Protect

Computer Science & Information Technology

To drag an anchor point, you need the ____ tool.

A. Direct Selection B. Selection C. Convert Anchor Point D. Path

Computer Science & Information Technology

The compiler automatically converts any array subscript used by a programmer to an equivalent ____ expression.

a. reference b. pointer c. class d. object

Computer Science & Information Technology

Which plan provides instruction on what personnel should do until the functions and systems are restored to full functionality?

A. Disaster recovery plan B. Continuity plan C. Business impact analysis D. Contingency plan

Computer Science & Information Technology