What is wrong with this code?
```WriteGreeting(char greetings[ ][10]);
int main()
{
char greetings[3][10]= {“hello”, “howdy”, “hi”} ;
WriteGreeting(greetings);
return 0;
}
WriteGreeting(char greetings[ ][ ] )
{
for(int I = 0; I < 3; ++I)
cout<
A. The function prototype has a number in the 2nd array dimension brackets.
B. There are only 3 items in the array list.
C. The code is correct.
D. The function header needs the 2nd array dimension size specified as in prototype.
D
You might also like to view...
What technology is used by most mice?
A. optical technology B. mechanical motion C. dragging technology D. capacitance technology
What is the most common character used to simulate a space?
A) underscore (_) B) asterisk (*) C) dash (-) D) plus sign (+)
Compute the area of an equilateral triangle with a side of 1 foot in length.
First find the length of the altitude: Do this by dividing the equilateral triangle into two equal right triangles. Each right triangle has: a the same altitude as the equilateral triangle b base is half the side of equilateral triangle = 1/2 foot c hypotenuse of one side = 1 foot
In PHP, use the mysql_query() function to send SQL statements to ____________________.
Fill in the blank(s) with the appropriate word(s).