online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
<!DOCTYPE html> <html lang="en"> <head> <title>Document</title> <script type="text/javascript"> var string = prompt("Enter a string : "); var strLen = string.length; var revStr = ''; for(var i = strLen-1; i>=0; i--){ revStr += string[i]; } console.log(`${string} reverse is ${revStr}`); </script> </head> <body> </body> </html>

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