• 2022-06-09
    以下结构体类型说明和变量定义中正确的是______。
    A: typedef struct
    B: struct REC;
    C: int n;char c;REC; int n;char c;;
    D: REC t1,t2; REC t1,t2;
    E: typedef struct REC;
    F: struct
    G: int n=0;char c='A';t1,t2; int n;char c;REC;
    H: REC t1,t2;
  • A

    内容

    • 0

      以下结构体类型说明和变量定义中正确的是( )。 A: typedef struct B: int n; char c; REC; C: REC t1, t2; D: struct REC; E: int n; char c;; F: REC t1, t2; G: typedef struct REC; H: int n=0; char c='A', t1, t2; I: struct J: int n; char c; REC; K: REC t1, t2;

    • 1

      以下结构体类型说明和变量定义中正确的是( )。 A: typedef struct B: int n;char c;REC; C: REC t1,t2; D: struet REC; E: int n;char c;; F: REC t1,t2; G: typedef struct REC; H: int n=0;char c='A';t1,t2; I: REC t1,t2; J: struct K: int n;char c;REC;

    • 2

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

    • 3

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

    • 4

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