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...

What are two options for printing an outline?

What will be an ideal response?

Computer Science & Information Technology

_____ design and construct web pages, monitor traffic, manage hardware and software, and link web-based applications to a company’s information systems.

A. User support specialists B. Database administrators C. Web support specialists D. Network administrators

Computer Science & Information Technology

A document with mirror margins has inside and outside margins instead of left and right margins.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

In a business letter, within the message, paragraphs are double-spaced with single-spacing between paragraphs.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology