What is wrong with this function?

```int[] WriteNumbers(int numbers [ ] )
{
for(int I =0; I < 5; ++I)
cout< return numbers;
}```
A. int numbers[] needs the size of the array.
B. There are no spaces between the <<
C. I is capitalized as a variable.
D. An array cannot be returned from a function.


D

Computer Science & Information Technology

You might also like to view...

What will the following section of code do when the user clicks the btnExit button?

Private Sub btnExit_Click(ByVal sender As System.Object, _ ByVal e as System.EventArgs) Handles btnExit.Click Me.Close() End Sub a. Shut down the computer b. Log off the current user c. Close the current form d. All of the above

Computer Science & Information Technology

What governing body developed XML?

A) ICANN B) Word Wide Web Consortium (W3C) C) NSA D) IEEE

Computer Science & Information Technology

A continuity check is used to see whether the wires in a cable are good

Indicate whether the statement is true or false

Computer Science & Information Technology

The BTK case involving Dennis Rader involved serial killings that began in 1974 and ended in ________

a. 1975 b. 1981 c. 1985 d. 1991

Computer Science & Information Technology