/* * Example of string input/output with scanf and printf */ #include #define NUM_PEOPLE 3 #define NAME_LEN 25 int main(void) { char first_names[NUM_PEOPLE][NAME_LEN], last_names[NUM_PEOPLE][NAME_LEN]; int i, ages[NUM_PEOPLE]; printf("Enter %d first and last names, and ages\n",NUM_PEOPLE); for (i = 0; i