struct{int num;float scor;}student;struct student std1;是对结构体类型的变量student的定义。() 此题为判断题(对,错)。
struct{int num;float scor;}student;struct student std1;是对结构体类型的变量student的定义。()
此题为判断题(对,错)。
相关考题:
有以下的结构体变量定义语句: struct student { int num; charname[9]; } stu; 则下列叙述中错误的是()。A.结构体类型名为stuB.num是结构体成员名C.struct是C的关键字D.结构体名为student
以下对结构体类型变量的定义中不正确的是()。A.#define STUDENT struct student STUDENT {int num; float age; }std1;B.struct student {int num; float age; }std1;C.struct {int num; float age; }std1;D.struct int num; float age; }student; struct student std1;
【单选题】以下对结构体类型变量的定义中不正确的是()。A.#define STUDENTstruct student STUDENT {int num; float age;}stdl;B.struct student{ int num; float age; }stdl;C.struct{ int num; float age; }std1;D.struct{ int num;floatage; }student; struct studentstd1;
若有以下定义,则对变量student1中“生日”的正确赋值方式是()。 struct student { int num; char name[20], sex; struct { int year, month, day; } birthday; } ; struct student student1;A.student1.birthday.year = 2003; student1.birthday.month = 5; student1.birthday.day = 1;#B.year = 2003; month = 5; day = 1;#C.birthday.year = 2003; birthday.month = 5; birthday.day = 1;#D.student1.year = 2003; student1.month = 5; student1.day = 1;
有以下的结构体变量定义语句: struct student { int num; charname[9]; } stu; 则下列叙述中错误的是()。A.结构体类型名为stuB.num是结构体成员名C.struct是C的关键字D.结构体类型名为student
以下()定义不会分配实际的存储空间。A.struct { char name[10] ; int age ; } student ;B.struct STUDENT { char name[10] ; int age ; } student ;C.struct STUDENT { char name[10] ; int age ; } ; struct STUDENT student;D.struct STUDENT { char name[10] ; int age ; } ;
3、以下对结构体类型变量的定义中不正确的是()。A.#define STUDENT struct student STUDENT {int num; float age; }std1;B.struct student {int num; float age; }std1;C.struct {int num; float age; }std1;D.struct int num; float age; }student; struct student std1;
以下对结构体类型变量的定义中不正确的是()。A.struct{ int num; float age; }student; struct student std1;B.#define STUDENT struct student STUDENT{ int num; float age; }std1;C.int num; float age; }std1;D.struct{ int num; float age; }std1;
3. 以下对结构体类型变量的定义中不正确的是()。A.#define STUDENT struct student STUDENT {int num; float age; }std1;B.struct student {int num; float age; }std1;C.struct {int num; float age; }std1;D.struct int num; float age; }student; struct student std1;