| |
Answer/Explaination
:
100, 100, 100, 2
114, 104, 102, 3
(Exp):
The given array is a 3-D one. It can also be viewed as a 1-D array.

thus, for the first printf statement a, *a, **a give address of first
element .
since the indirection ***a gives the value. Hence, the first line of
the
output.
for the second printf a+1 increases in the third dimension thus points
to
value at 114, *a+1 increments in second dimension thus points to 104,
**a
+1 increments the first dimension thus points to 102 and ***a+1 first
gets
the value at first location and then increments it by 1. Hence, the
output.
|
|