online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// example9_6.c #include <stdio.h> // 정수를 받아 제곱 값을 출력하는 함수 void print_square(int x) { printf("%d ", x * x); } int main(void) { int i; // 배열 base의 각 요소를 함수에 전달하여 제곱 출력 int base[5] = { 31, 71, 21, 41, 51 }; for (i = 0; i < 5; i++) { print_square(base[i]); } printf("\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