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
the maximum length of a character constant can be a) 2 b) 1 c) 8
What's c++ used for?
Explain the virtual inheritance in c++.
What's the order in which the objects in an array are destructed?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
Can you please explain the difference between overloading and overriding?
what are the decision making statements in C++? Explain if statement with an example?
Is empty stack c++?
Why do we need function?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
Is it possible for a member function to delete the pointer, named this?
Define whitespace in C++.
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
Name the debugging methods that are used to solve problems?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?