/* DEMO1 illustrates that the variable "word" is itself a pointer to char just like name. */ #include #include #include int main() { char word[10]; /* Just to illustrate that "word" is a pointer too" */ *word = 'A'; /* same as word[0] = 'A' */ printf("word[0] = %c\n", *word ); /* "%c" format spec only tries to print 1st char */ return 0; }