#include #include /* need to include for strlen, strcmp, strcpy functions */ #define SIZE 80 int main() { char word1[SIZE + 1] = "apples"; char word2[SIZE + 1] = "aligators"; char word3[SIZE + 1] = "abba"; char word4[SIZE + 1] = "abe"; char word5[SIZE + 1] = "ab"; printf ("result from strcmp(word1, word2):%d \n\n", strcmp(word1, word2)); printf ("result from strcmp(word2, word1):%d \n\n", strcmp(word2, word1)); printf ("result from strcmp(word5, word3):%d \n\n", strcmp(word5, word3)); printf ("result from strcmp(word4, word5):%d \n\n", strcmp(word4, word5)); printf ("result from strcmp(word1, word1):%d \n\n", strcmp(word1, word1)); }