• 2022-06-05 问题

    设有定义: stmct complex int real,unreal;datal=1,8,data2; 则以下赋值语句中错误的是() A: data2=datal; B: data2=(2,6); C: data2.real=datal.real; D: data2.real=datal.unreal;

    设有定义: stmct complex int real,unreal;datal=1,8,data2; 则以下赋值语句中错误的是() A: data2=datal; B: data2=(2,6); C: data2.real=datal.real; D: data2.real=datal.unreal;

  • 2022-07-25 问题

    下列结构体类型说明和变量定义中正确的是( )。 A: typedef struct{int n; char c;}REC;REC t1,t2; B: struct REC;{int n; char c;};REC t1,t2; C: typedef struct REC;{ int n=0; char c='A';} t1,t2; D: stmct{ int n; char c;} REC;REC t1,t2;

    下列结构体类型说明和变量定义中正确的是( )。 A: typedef struct{int n; char c;}REC;REC t1,t2; B: struct REC;{int n; char c;};REC t1,t2; C: typedef struct REC;{ int n=0; char c='A';} t1,t2; D: stmct{ int n; char c;} REC;REC t1,t2;

  • 2022-06-14 问题

    根据下列的定义,能打印出字母P的语句是( ) struct stu char name[10]; int age; ; stmct stu s[10]="John",11, "Paul",12, "Mary",11, "adam",12 : A: printf("%c",s[3].name); B: printf("%c",s[3].name[1]); C: printf("%c",s[2].name[11]); D: printf("%c",s[1].name[0]);

    根据下列的定义,能打印出字母P的语句是( ) struct stu char name[10]; int age; ; stmct stu s[10]="John",11, "Paul",12, "Mary",11, "adam",12 : A: printf("%c",s[3].name); B: printf("%c",s[3].name[1]); C: printf("%c",s[2].name[11]); D: printf("%c",s[1].name[0]);

  • 2022-06-06 问题

    下面结构体的定义语句中,不正确的是______。 A: structdate B: int month; C: int day; D: int year; E: Struct date datel; F: B.stmctdate G: intmonth; H: int day; I: int year; J: datel; K: struct L: int month; M: int day; N: int year; O: date 1; P: D. #define DATE stmct date Q: DATE R: int month; S: int day; T: int year; U: datel;

    下面结构体的定义语句中,不正确的是______。 A: structdate B: int month; C: int day; D: int year; E: Struct date datel; F: B.stmctdate G: intmonth; H: int day; I: int year; J: datel; K: struct L: int month; M: int day; N: int year; O: date 1; P: D. #define DATE stmct date Q: DATE R: int month; S: int day; T: int year; U: datel;

  • 1