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[1] , wer[1] +1); is

A.

362 363

B.

162 162

C.

162 166

D.

162 165

 

Answer : A

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.