#include #include void PrintWord(char * word, char * message) { printf("%s is %d characters long\n", message, strlen(word)); printf("%s is \"%s\"\n", message, word); } int main() { char * word1 = "hello this is a string"; char * word2 = "hello world \0 past the end"; int i; printf("\n"); PrintWord(word1, "Word1"); printf("\n"); PrintWord(word2, "Word2"); printf("\nThe Real Word2\n"); for(i =0; i < 5000; ++i) { if (word1[i]==0) { printf("\\0"); } else { printf("%c", word1[i]); } } printf("\n"); return 0; }