Which of the following statements about passing arrays to a function is false?

A. The function must be called passing only the name of the array.
B. In the function definition, the formal parameter must be an array type.
C. The size of a fixed-length array does not need to be specified.
D. The size of a variable-length array in the function prototype must be an asterisk or a variable.
E. The size of a variable-length array in a function definition must be a variable in the function body.


Answer: E

Computer Science & Information Technology

You might also like to view...

All programming languages assign 0 to a variable you fail to initialize explicitly.

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

Computer Science & Information Technology

Comments can easily be modified

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following tools or methods can discover security weaknesses, including misconfigurations, out of date software, missing patches, and open ports?

A. port scanner B. vulnerability scanner C. HTTP interceptor D. ping sweep

Computer Science & Information Technology

Most home routers also include a built-in ________.

A) range extender B) switch C) hub D) network interface card

Computer Science & Information Technology