online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> using namespace std; int main () { int var = 20; int *ip, *iq; ip = &var; cout << "Value of var variable: "; cout << var << endl; cout << "Address stored in ip variable: "; cout << ip << endl; cout << "Value of *ip variable: "; cout << *ip << endl; var++; cout << "var++, then Value of *ip variable: "; cout << *ip << endl; *ip=*ip-10; cout<<"*ip-10 equal var-10: "; cout<<var<<' '<<*ip<<endl; iq=ip; cout<<"iq have the same the Address of ip, so *iq have the same Value of var "; cout<<*iq; 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