$ cat art.c
#include <stdio.h>
const char *elephant = "🐘";
int main(void) {
printf("%s\n", elephant);
printf("%p\n", (void *)&elephant);
return 0;
}
$ gcc -Wall art.c
$ ./a.out
🐘
0x10b026010
$ cat art.c
#include <stdio.h>
const char *elephant = "🐘";
int main(void) {
printf("%s\n", elephant);
printf("%p\n", (void *)&elephant);
return 0;
}
$ gcc -Wall art.c
$ ./a.out
🐘
0x10b026010