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

1. The subscript of an array must be an integer or an integer expression.
2. The first character of a string called name is name[0].
3. If a function has the following prototype, changes to the array parameter of the function will not change the actual array argument in the call:
void doSomething(int [ ]);
4. The formal array parameter in a function represents the address of the first element in the actual array argument.
5. An array is always passed by reference.

1. True
2. True
3. False
4. True
5. True

Computer Science & Information Technology

You might also like to view...

You can apply uniform page layouts to grouped worksheets

Indicate whether the statement is true or false

Computer Science & Information Technology

A computer's processing circuitry "writes" the instructions then processes the data accordingly.

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

Computer Science & Information Technology