• 2022-07-25 问题

    以下各项用于定义结构体类型,并定义结构体变量,其中正确的是________。 A: struct student { char num[5]; int score; }; student stu1,stu2; B: struct student{ char num[5]; int score;};struct student stu1 stu2; C: struct student { char num[5]; int score=96; }; struct student stu1,stu2; D: struct student{ char num[5]; int score;};struct student stu1,stu2;

    以下各项用于定义结构体类型,并定义结构体变量,其中正确的是________。 A: struct student { char num[5]; int score; }; student stu1,stu2; B: struct student{ char num[5]; int score;};struct student stu1 stu2; C: struct student { char num[5]; int score=96; }; struct student stu1,stu2; D: struct student{ char num[5]; int score;};struct student stu1,stu2;

  • 2022-06-06 问题

    在如下结构体中,不正确的是( )。 A: struct student {char name[10]; float score; }; B: struct stu[5] {char name[10]; float score; }; C: struct student {char name[10]; float score; } stu[5]; D: struct {char name[10]; float score; }stu[5];

    在如下结构体中,不正确的是( )。 A: struct student {char name[10]; float score; }; B: struct stu[5] {char name[10]; float score; }; C: struct student {char name[10]; float score; } stu[5]; D: struct {char name[10]; float score; }stu[5];

  • 2021-04-14 问题

    值为7的表达式是【 】。 struct st{int n; struct st *next;} struct st a[3]={5,&a [1],7,&a [2],9,NULL}, *p; p=&a[0];

    值为7的表达式是【 】。 struct st{int n; struct st *next;} struct st a[3]={5,&a [1],7,&a [2],9,NULL}, *p; p=&a[0];

  • 2021-04-14 问题

    若有下述程序段,则表达式( )的值为6。 Struct st {int n; struct st *next; }; struct st a[3]={5,&a[1],6,&a[2],9,'0000'},*p=a;

    若有下述程序段,则表达式( )的值为6。 Struct st {int n; struct st *next; }; struct st a[3]={5,&a[1],6,&a[2],9,'0000'},*p=a;

  • 2021-04-14 问题

    若有以下程序段: struct st { int n; int *m; }; int a=2,b=3,c=5; struct st s[3]=({101,&a},{102,&c},{103,&b}}; main() { struct st *p; p=s; … } 则以下表达式中值为5的是( )。

    若有以下程序段: struct st { int n; int *m; }; int a=2,b=3,c=5; struct st s[3]=({101,&a},{102,&c},{103,&b}}; main() { struct st *p; p=s; … } 则以下表达式中值为5的是( )。

  • 2022-06-03 问题

    以下选项中,能定义s为合法的结构体变量的是( ). A: typedef struct CLASS{double a;char b[5];}C; B: typedef CLASS{double a;char b[5];}CLASS s; C: struct{double a;char b[10];}s; D: struct CLASS{double a;char b[5];}CLASS s;

    以下选项中,能定义s为合法的结构体变量的是( ). A: typedef struct CLASS{double a;char b[5];}C; B: typedef CLASS{double a;char b[5];}CLASS s; C: struct{double a;char b[10];}s; D: struct CLASS{double a;char b[5];}CLASS s;

  • 2021-04-14 问题

    下列结构有多少个不饱和度?https://www2.chemistry.msu.edu/faculty/reusch/VirtTxtJml/Questions/problems/Images1/struct5.gif

    下列结构有多少个不饱和度?https://www2.chemistry.msu.edu/faculty/reusch/VirtTxtJml/Questions/problems/Images1/struct5.gif

  • 2022-06-03 问题

    ()为正确的用户标识符 A: struct B: 5 C: _f0.6 D: _for

    ()为正确的用户标识符 A: struct B: 5 C: _f0.6 D: _for

  • 2022-06-17 问题

    若有以下定义,则对变量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;

    若有以下定义,则对变量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;

  • 2021-04-14 问题

    以下哪个结构被认为是环戊酮的互变异构体http://www2.chemistry.msu.edu/faculty/reusch/VirtTxtJml/Questions/problems/Images2/struct5.gif

    以下哪个结构被认为是环戊酮的互变异构体http://www2.chemistry.msu.edu/faculty/reusch/VirtTxtJml/Questions/problems/Images2/struct5.gif

  • 1 2 3 4 5 6 7 8 9 10