Consider a linked list whose nodes are defined by the follow
Consider a linked list whose nodes are defined by the following structure: struct node {char firstName [40]; char lastName [40]; struct node *nextNode; Assume the list has been initialized and its first element can be accessed using a global struct node pointer called head. Also assume that a global unsigned array called alphaCounter has been declared, and its 26 elements have been initialized to zero. Write a void function called alphaCount that traverses the linked list, counts the occurences of the first letter in each last name, and stores each count in the appropriate clement of the alphaCounter array.
Solution
Sum of Natural Numbers Using while Loop
![Consider a linked list whose nodes are defined by the following structure: struct node {char firstName [40]; char lastName [40]; struct node *nextNode; Assume Consider a linked list whose nodes are defined by the following structure: struct node {char firstName [40]; char lastName [40]; struct node *nextNode; Assume](/WebImages/23/consider-a-linked-list-whose-nodes-are-defined-by-the-follow-1056173-1761551054-0.webp)