[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Pointers - Discussion

Home > C Programming > Pointers > MCQs Questions Discussion

8 / 60

What is the output of the following C Program?

#include<stdio.h>
int main( ){ 
int a[2][3][2] = {{{2,4},{7,8},{3,4}},{{2,2},{2,3},{3,4}}};
printf("%u %u %u %d \n",a,*a,**a,***a);
printf("%u %u %u %d \n",a+1,*a+1,**a+1,***a+1);
}

A1000, 1000, 1000, 21014, 1004, 1002, 3

B1002, 1002, 1002, 41014, 1004, 1008, 3

C1000, 1000, 1000, 41014, 1004, 1002, 3

D1000, 1000, 1000, 21014, 1004, 1002, 3

ENone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Sopra Steria

Post Your Answer Here:     

No Discussion on this question yet!