Answers

Question and Answer:

  Home  Arrays

⟩ What will be output if you will execute following c code? #include<stdio.h> void main(){ int array[2][3]={5,10,15,20,25,30}; int (*ptr)[2][3]=&array; printf("%dt",***ptr); printf("%dt",***(ptr+1)); printf("%dt",**(*ptr+1)); printf("%dt",*(*(*ptr+1)+2));

5 Garbage value 20 30

 134 views

More Questions for you: