/* printing char pointer example in C */ #include <stdio.h> int main() { char * str = "Hello"; printf("%s\n", str); return 0; }