online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> #define swapl(a, b) tmp = a; a = b; b = tmp; int main () { int num1 = 5, num2 = 4, tmp; swapl (num1, num2); printf ("%d, %d\n", num1, num2); 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