This is C source code... not c++

#include <stdio.h>

int x;
int *xpos;

x = 13;
xpos = &x;

printf("%i\n",x);
printf("%p\n\n",xpos);