Struct person {
char name[20];
Int count;
} leader [3]={" Li, "0," Zhang, "0," Fun ", 0};
Of structures in the last line array is why add 0.
Leader [3]={" Li ", "Zhang", "Fun"}; Can't you so where is the wrong
What is the principle of the original problem!
The small white a bosses, please help!
CodePudding user response:
0 is the corresponding structure in the count, it is leader of the array [3] the initialization, the structure of each of the elements are initialized,