If gPtr is a pointer that points to the first element of an integer array (and each integer requires four bytes of storage), ____ references the variable that is three integers beyond the variable pointed to by gPtr.

A. *gPtr + 3
B. *(gPtr + 3)
C. *(gPtr + 3 * 4)
D. *(gPtr + 3 / 4)


Answer: B

Computer Science & Information Technology

You might also like to view...

Which one of the following assignment statements will cause a syntax error because of mismatching data types?

a. double density = 34.12; b. double length = 0.5; c. double bonus = 24.95m; d. double depth = 1200;

Computer Science & Information Technology

Which tags are used to provide alternate content for users who have disabled scripts in their browsers?

a. b. c. < /no script> d. there are no such tags

Computer Science & Information Technology

The tag contains the ____.

A. path to the image file B. height of the image C. width of the image D. all of the above

Computer Science & Information Technology

How does an anti-virus program act as a sword (i.e., in active seek-and-destroy mode) in protecting a PC?

What will be an ideal response?

Computer Science & Information Technology