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 / sawwas

11

Is This Answer Correct ?    52 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are virtual functions implemented in c++?

605


Is c++ platform dependent?

639


When you overload member functions, in what ways must they differ?

594


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

685


What is the use of cmath in c++?

593






What is the difference between global variables and local variable

540


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

2297


What is a c++ object?

619


By using c++ with an example describe linked list?

607


What are friend classes?

617


What is a down cast?

615


What are c++ files?

583


What is #include iostream h in c++?

620


What are virtual constructors/destructors?

580


How many ways can a variable be initialized into in C++?

607