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

MC What event handler does the SAX-based parser call when it encounters a start tag?

a) startTag. b) startElement. c) startHandler. d) None of the above.

Computer Science & Information Technology

The graphics file type that consists of unprocessed data captured directly from a digital camera's sensor array is ____.

A. TIFF B. GIF C. RAW D. JPEG

Computer Science & Information Technology