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

Computer Science & Information Technology

You might also like to view...

The ____ handles computer crimes that are categorized as felonies.

A. FBI B. U.S. Secret Service C. U.S. Treasury Department D. Securities and Exchange Commission

Computer Science & Information Technology

The Compatibility Checker should be run before saving your presentation to an earlier format of PowerPoint

Indicate whether the statement is true or false

Computer Science & Information Technology

A(n) ____________________ is a style applied to an Activity or an entire application.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which of the following would MOST likely contain information about unlabeled data center connections?

A. Procedures manual B. Emergency call list C. Logical network diagram D. Wiring schematic

Computer Science & Information Technology