/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * STRINGS 2 WEEKEDAYS.C * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include #define WEEKDAYS 7 int main() { char *weekdays[WEEKDAYS] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}; printf("First day of the week is %s \n",weekdays[0]); printf("Second day of the week is %s \n",weekdays[1]); printf("Third day of the week is %s \n",weekdays[2]); printf("Fourth day of the week is %s \n",weekdays[3]); printf("Fifth day of the week is %s \n",weekdays[4]); printf("Sixth day of the week is %s \n",weekdays[5]); printf("Seventh day of the week is %s \n",weekdays[6]); return 0; }