Multiple choice technology programming languages

1)main() { int a[2][3][2]={{{2,4},{7,8},{3,4}},{{2,2},{2,3},{3,4}}}; printf(“%u %u %u %d”,a,a,a,a); printf(“%u %u %u %d\n”,a+1,*a+1,a+1,***a+1); } Provided base address of a is 100.

  1. 100 100 100 2 112 104 102 3

  2. 100 104 108 3 112 116 120 3

  3. 100 100 100 2 112 104 102 2

  4. 100 104 108 2 112 116 120 2

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

With base address 100, a is the array address (100). a is the first 2D array address (also 100 due to same starting point). **a is the first 1D array address (still 100). **a dereferences to the first element value (2). For the second printf: a+1 adds one full 3D array (size 12 integers = 48 bytes) giving 148... wait, let me recalculate. With base address 100 for a[2][3][2], each dimension's size varies. The output 100 100 100 2, 112 104 102 3 is consistent with pointer arithmetic on this multidimensional array structure.