What is wrong with this code?
```
void WriteDay(char d[]);
int main( )
{
char Day [10] = “Friday”;
WriteDay(Day[]);
Return 0;
}
```
A. The brackets are not needed in the call statement.
B. “Friday” is too short for the array.
C. The code is correct as written.
D. The call statement should be written as WriteDay(Day[10]);
A. The brackets are not needed in the call statement.
Computer Science & Information Technology
You might also like to view...
Which of the following events is triggered when the mouse is moved downward?
a) MouseHover b) MouseDown c) MouseMove d) All of the above.
Computer Science & Information Technology
Within an if or an else statement, how can you code as many dependent if statements as you need and why is this useful?
What will be an ideal response?
Computer Science & Information Technology