1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//Pointer and Memory Address #include <stdio.h> int main(void) { int total = 5; int *ptr; //pointer ptr = &total; //memory address at total printf("Total Value is : %d and Memory Address is : %d", *ptr, ptr); return 0; }
1
Total Value is : 5 and Memory Address is : -3947956