Which of the following statements about array pointers is false?

A. Given an array, ary, the expression &ary[1] and the name of the array both represent the same location in memory.
B. The name of an array is a pointer constant to the first element.
C. When the name of the array is dereferenced, it refers only to the first element of the array.
D. We can use the name of an array anywhere we can use a pointer as long as it is being used as an rvalue.
E. The name of the array can be used as the operand on the right of an assignment expression as long as the left expression is a pointer variable.


Answer: A

Computer Science & Information Technology

You might also like to view...

Actions might include ____ that stop to let you enter values in a dialog box while playing an action.

a. action sets b. breaks c. modal controls d. splits

Computer Science & Information Technology

What key feature in the PowerShell ISE allows a user to display clickable menus of cmdlets, parameters, parameter values, files, or folders that match the characters you type?

A. Context-sensitive Help B. Drag and drop C. Error display D. IntelliSense

Computer Science & Information Technology

Flash memory does not require a constant power supply

Indicate whether the statement is true or false

Computer Science & Information Technology

Briefly discuss the importance of debugging in the software lifecycle, and provide some insight on the errors that are corrected during the debugging process.

What will be an ideal response?

Computer Science & Information Technology