online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main() { int x; char a[] = "\0\0\0\0\0\0\0\0"; x = (int)a; // warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] x = a; // warning: assignment makes integer from pointer without a cast [-Wint-conversion] printf("x val: %d, x val (hex): %x\nx pointer: %p, a pointer: %p", x, x, &x, 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