11.6: Focus on Software Engineering: Nested Structures: 10752

11.6: Focus on Software Engineering: Nested Structures: 10752
Question

Assume that  SREC has already been defined. Define a new type,  ROSTER , that is a structure consisting of an  int field,  size , and another field,  grades , that is an  SREC array with 500 elements.

Solution
struct ROSTER
{
    int size;
    SREC grades[500];
};

No comments:

Post a Comment