online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include<iostream> using namespace std; int getArray(int array[]) { int len; cout << "Enter the length of the array" << endl; cin >> len; cout << "Enter the elements in the array" << endl; for (int i = 0; i < len; ++i) { cin >> array[i]; } return len; } void printArray(int array[], int len) { for (int i = 0; i < len; i++) { cout << array[i]; } } int main(int argc, char const *argv[]) { int array[] = {}; int len = getArray(array); printArray(array, len); 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