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