1. #include <stdio.h>
    2. int main()
    3. {
    4. int a = 0;
    5. int b = 11;
    6. int* p = &a;
    7. *p = 100;
    8. printf("a = %d, *p = %d\n", a, *p); // a = 100, *p = 100
    9. p = &b;
    10. *p = 22;
    11. printf("b = %d, *p = %d\n", b, *p); // b = 22, *p = 22
    12. return 0;
    13. }