1 2 3 4 5 6 7 8 9 10 11 12
#include <stdio.h> int main(void) { int total =50; int *my_pointer = &total; printf("the result is %d", *my_pointer); printf(" and is stored at memory address %p ", my_pointer); printf("this is my program sample!"); return 0; }
1
the result is 50 and is stored at memory address 0xfffe386c this is my program sample!