Question: C programming. i can not figure out this question. code with comments would be appreciated to help me understand. MUST BE STORED IN malloc() Activities

C programming. i can not figure out this question. code with comments would be appreciated to help me understand. MUST BE STORED IN malloc()

C programming. i can not figure out this question. code with comments

Activities Sun 16:18 Image Viewer 133% @ @ Screenshot from 2020-01-26 16-17-05.png CITY.. 6. Create a function called create_alphabetical_array() that takes two parameters, a NULL terminated array of words, and the array of starting-letter word counts as returned by the alphabetical_word_count() function. The function should: o Create 26 arrays, each one to stores all the words that start with a particular letter . For example, one of the array of words will contain all of the words that start with 'a' or 'A'. There could be any number of words in a list. No maximums should be used. The final element for each of these should be the NULL pointer (not the empty string or the \O character). If there are no words that start with the letter being considered, the array of words should have one element in it, which should be set to the NULL pointer. o The 26 arrays should be stored in an array called alphabetical_array, such that alphabetical_array[0] contains the array of all 'a' words, alphabetical_array[1] contains the list of all 'b' words etc. . This array should be the function's return value . You can use this array to store the 26 arrays while they are being created. No need to have separate variable names for each of the 26 word arrays. Calculator Activities Sun 16:18 Image Viewer 133% @ @ Screenshot from 2020-01-26 16-17-05.png CITY.. 6. Create a function called create_alphabetical_array() that takes two parameters, a NULL terminated array of words, and the array of starting-letter word counts as returned by the alphabetical_word_count() function. The function should: o Create 26 arrays, each one to stores all the words that start with a particular letter . For example, one of the array of words will contain all of the words that start with 'a' or 'A'. There could be any number of words in a list. No maximums should be used. The final element for each of these should be the NULL pointer (not the empty string or the \O character). If there are no words that start with the letter being considered, the array of words should have one element in it, which should be set to the NULL pointer. o The 26 arrays should be stored in an array called alphabetical_array, such that alphabetical_array[0] contains the array of all 'a' words, alphabetical_array[1] contains the list of all 'b' words etc. . This array should be the function's return value . You can use this array to store the 26 arrays while they are being created. No need to have separate variable names for each of the 26 word arrays. Calculator

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!