Hi, I want to display all the text exist in this variable

char hello[]="HELLO WORLD!";

I use this function

void Speech(char *words,int position)
   char *textptr;
   textptr = words;
   while(*textptr != '\0')

and call it in main function


but it only display "HELLO WORLD", no "!" sign, could you show me the way to show all the text in that variable "HELLO WORLD!"
Thanks :)

>but it only display "HELLO WORLD", no "!" sign
There's nothing in your code that would cause this. In other words, the loop is correct. I'd guess that you're reaching a limit on the display.