online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> using namespace std; int main () { int x = 1; int &y = x; int *z = &x; cout << "Initially x " << x << " y " << y << " z " << z << " z val " << *z << endl; x++; cout << "After x++ x " << x << " y " << y << " z " << z << " z val " << *z << endl; y++; cout << "After y++ x " << x << " y " << y << " z " << z << " z val " << *z << endl; z++; cout << "After z++ x " << x << " y " << y << " z " << z << " z val " << *z << endl; }

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