Question: Consider the following declarations: typedef struct Node { struct Node *next; char *text; } Node; typedef struct { Node *start; Node *end; } List; Write

Consider the following declarations:

typedef struct Node { struct Node *next; char *text; } Node; typedef struct { Node *start; Node *end; } List;

Write a function called listCase to determine (1) the total number of lowercase characters, and (2) the total number of uppercase characters in the text stored in the list. Do not break this down per node; rather, count all lowercase and uppercase characters across all nodes.

Your function should return nothing, and take three parameters: A pointer to List. Two pointers to integers, called lower and upper, to export the results.

There should be no input or output, and your function should not modify the list.

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!