C
crystal twix
As part of a homework problem, I'm trying to declare a new struct
within the definition, but my new definition is an array, and I am
only to define some of the values. For example:
#define STUDENTS 100
struct Test {
int score;
int grade;
} score[STUDENTS], ???
but I want to only initialize the first 5. Thanks!
within the definition, but my new definition is an array, and I am
only to define some of the values. For example:
#define STUDENTS 100
struct Test {
int score;
int grade;
} score[STUDENTS], ???
but I want to only initialize the first 5. Thanks!