C Programming MCQ

1:

Consider the following program fragment.
static char wer[3][4] = {"bag", "let", "bud"};
char(*ptr)[4] = wer;

The possible output of printf ( "%d %d", wer, wer +1); is

A.

262 262

B.

262 266

C.

262 263

D.

262 265

 

Answer : B

Explanation :

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.