Interview Questions   Tutorials   Discussions   Programs   Videos   

C++ - What is the output of the following 3D Array int arr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}; what is the output for arr[2][1][0]?




347
views
asked marvit August 20, 2014 09:50 AM  

What is the output of the following 3D Array int arr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}; what is the output for arr[2][1][0]?


           

1 Answers



 
answered By bhjahnavi   0  
There will be an error because that is not a valid initialization of an array.
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert