Question:

What will be the output of the following program assuming that the array begins at location 1002?
#include<stdio.h> 
void main() 
{int a[2] [3] [4] ={ {1,2,3,4,5,6,7,8,9,1,1,2,}, {2,1,4,7,6,7,8,9,0,0,0,0}}; 
printf("/n%u%u%u %d", a, *a, **a, ***a); 

Updated On: Mar 16, 2024
  • 1002 1002 1004 1
  • 1002 1004 1006 1
  • 1002 1004 1004 1
  • 1002 1002 1002 1.
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

The correct option is(D): 1002 1002 1002 1
Was this answer helpful?
0
0