online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// Programa C++ para imprimir los elementos de un arreglo 3-D // utilizando la notacion de punteros #include <iostream> using namespace std; int main() { int arr[2][3][2] = { { {5, 10}, {6, 11}, {7, 12}, }, { {20, 30}, {21, 31}, {22, 32}, } }; int i, j, k; for (i=0; i<2; i++){ for (j=0; j<3; j++){ for (k=0; k<2; k++) cout<<*(*(*(arr+i)+j)+k)<<"\t"; cout<<"\n"; } } return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue