online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> using namespace std; int main() { int grades[3] = {55, 65, 75}; int *gradePtr; // A gradePtr = grades; // Test to show A is correct: cout << *gradePtr << endl; // B cout << *(++gradePtr); // C gradePtr++; // Test to show C is correct: cout << endl << *gradePtr; 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