online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> int main() { int space=4, i; for(i = 1; i<6; i++){ putSpace(space); putStar(i); newLine(); space--; } return 0; } void putSpace(int space){ for(int i=0; i<space;i++){ printf("_"); } } void putStar(int i){ for(int a = 0; a<i;a++){ printf("*"); } } void newLine(){ printf("\n"); }

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