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
Why do we use structure in c++?
How do you differentiate between overloading the prefix and postfix increments?
What is object oriented programming (oop)?
What is the use of function pointer?
How do you find out if a linked-list has an end?
What do you mean by a template?
What is the purpose of extern storage specifier?
What is oops in c++?
Explain virtual destructor?
Explain 'this' pointer and what would happen if a pointer is deleted twice?
What are the advantages of using friend classes?
What do the keywords volatile and mean mutable?
How to get the current position of the file pointer?
Why c++ is called oop?
What is the c++ programming language used for?