/* Define and assign an integer pointer type Emad Arasteh December 5 , 2019 */ #include int main() { int x, *p; x = 42; p = &x; printf("Value of x: %d \n", x); printf("Content of p: %d \n", *p); printf("Value of p: %p\n", p); printf("Address of x: %p\n", &x); printf("Address of p: %p \n", &p); *p = 23; printf("Value of x: %d \n", x); printf("Content of p: %d \n", *p); printf("Value of p: %p\n", p); printf("Address of x: %p\n", &x); printf("Address of p: %p \n", &p); return 0; }