• Source
    1. #include <stdio.h>
    2.  
    3. int main(void) {
    4.  
    5. char *p = "hello";
    6. printf("the address of the string hello is: %p\n", p);
    7. printf("the dereference of pointer p is: %c\n", *p);
    8. printf("the address of the p is: %p\n", &p);
    9.  
    10. return 0;
    11. }
    12.