#include <stdio.h>
#include <string.h>
const int NAMELEN=30;
const int MAXCLASSSIZE=10;
typedef struct StudentRec {
char lastname[NAMELEN];
char firstname[NAMELEN];
long int ID;
int finalmark;
}Student;
Run Code Online (Sandbox Code Playgroud)
我是编码的新手.我有一个关于为什么有学生的问题; 在括号之后..是我们必须遵循的格式.