print char* address C code example Example: print char* address C printf("address of str1 in memory : %p\n", &str1);