#include #include int main () { char str1[] = "The quick brown fox jumped over the lazy dog."; char str2[] = "This is a C-style string."; char str3[80] = ""; printf("The length of str1 is %d\n", strlen(str1)); printf("str3 has value \"%s\"\n", strcpy(str3, str1)); printf("When we concatenate str1 and str2 we get\n \"%s\"\n", strcat(str3, str2)); printf("str1 is %sthe same as str2\n", ((strcmp(str1, str2)) ? "not " : "")); printf("The letter 'f' appears at position %d in str1\n", (int) (strchr(str1, 'f')-str1)); return 0; }