online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> void swap(int*, int*); //ν•¨μˆ˜ μ›ν˜• int main(void) { int a, b; a = 10; b = 20; printf("before swap() : a=%d, b=%d\n", a, b); //호좜 μ „ a와 b의 κ°’ swap(&a, &b); //a와 b의 μ£Όμ†Œ 전달 printf("after swap() : a=%d, b=%d\n", a, b); //호좜 ν›„ a와 b의 κ°’ return 0; } void swap(int*a, int*b){ int temp; temp = *a; *a = *b; *b = temp; printf("in swap() : a=%d, b=%d\n", a, b); }

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