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]?
Answer Posted / arpita
ans-0 [3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}
[2][1][0]={0}
3*2*2=12
2*1*0=0
think hatke...
Is This Answer Correct ? | 9 Yes | 29 No |
Post New Answer View All Answers
What is the iunknown interface?
Define a nested class. Explain how it can be useful.
How do we implement inheritance in c++?
What is the role of copy constructor in copying of thrown objects?
Can we distribute function templates and class templates in object libraries?
Describe protected access specifiers?
What are vectors used for in c++?
In c++, what is the difference between method overloading and method overriding?
Explain the difference between realloc() and free() in c++?
What is type of 'this' pointer? Explain when it is get created?
What are the advantages of using pointers in a program?
What is virtual table?
What is buffering in c++?
Is there any difference between int [] a and int a [] in c++?
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?