online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main() { int arr[50]={1,5,3}; int a=0; int*num = arr; while(num<arr+(sizeof(arr)/4)) { printf("%d\n",num[0]); *num++; //Здесь по логике должна инкрементироваться единица к первому элементу массива, но прибавляется так же 4 Байта к адресу. } 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