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

What is the index of the first position in an array that contains 10 items?

a. 0 b. 1 c. 9 d. 10 e. None of these

Computer Science & Information Technology

The expression $test = substr_replace($test, 'X', -1); replaces:

a. The last character in $test b. The second character in $test c. The first character in $test d. The entire $test string

Computer Science & Information Technology

Which of the following is the proper way to access the frame "second" from the script of an outside document?

Consider the following HTML document. ``` Frames collection ``` a. ``` document.frames( "second") ``` b. ``` document.frames( second ) ``` c. ``` parent.frame( "second" ) ``` d. ``` parent.frames( " second" ) ```

Computer Science & Information Technology

A word repetition—two identical words in a row—is:

A) flagged as a spelling error. B) flagged as a grammar error. C) not considered an error and not flagged. D) indicated by a Mini toolbar.

Computer Science & Information Technology