Which of the following pointer notations accesses the second element in the third row of a two dimensional array?

A. *(*(ary + 3) + 2)
B. *(*(ary + 2) + 1)
C. *(*(ary + 2) + 3)
D. *(*(ary + 1) + 2)
E. **ary[2][3]


Answer: B

Computer Science & Information Technology

You might also like to view...

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

1. A condition can be either true or false. 2. Evaluate the Boolean expression below if the variables have the following values: x num mark y z more 5 7.0 true 10 -7 false x < y 3. Evaluate the Boolean expression below if the variables have the following values: x num mark y z more 5 7.0 true 10 -7 false x + z >= y 4. Evaluate the Boolean expression below if the variables have the following values: x num mark y z more 5 7.0 true 10 -7 false x + y = = z + 8 5. Evaluate the Boolean expression below if the variables have the following values: x num mark y z more 5 7.0 true 10 -7 false !mark && (x < 6)

Computer Science & Information Technology

Column references in cell ranges must be typed using uppercase.

a. true b. false c. not enough information

Computer Science & Information Technology

Tab settings can be changed by pressing the Tab key

Indicate whether the statement is true or false

Computer Science & Information Technology

Traditional methods of human smuggling involve unsecured border crossings via the use of private transportation

Indicate whether the statement is true or false.

Computer Science & Information Technology