online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main() { int a = 4, b = 5; int res = a ^ b; printf("a = %d, b = %d, a ^ b = %d\n", a, b, res); // We can recover a or b from a ^ b, if we have either of b or a printf("a = %d\n", res ^ b); printf("b = %d\n", res ^ a); 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