online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Online Javascript Interpreter. Code, Compile, Run and Debug javascript program online. Write your code in this editor and press "Run" button to execute it. *******************************************************************************/ function concatArray(arr){ let s = ""; for(let i = 0; i< arr.length; i++) { if(i<arr.length-1) { s += arr[i]+" "; }else { s += arr[i]; } } return s+"."; } print(concatArray(["Hello", "this", "is", "dog"]));

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