当前位置: X题卡 > 所有题目 > 题目详情

给定C 语言的数据结构 struct T { int w; union T { char c; int I; double d; } U; }; 假设char 类型变量的存储区大小是1 字节,int...

查看本题答案

你可能感兴趣的试题

typedef struct {int n; char c;}REC; REC t1,t2;  struct REC; {int n; char c;}; REC t1,t2;  typedef struct REC; { int n=0; char c='A';} t1,t2;  stmct { int n; char c;} REC; REC t1,t2;  
typedef struct  int n;char c; REC;  REC t1,t2;  struct REC;  int n;char c;;  REC t1,t2;  typedef struct REC;  int n=0; char c='A';t1,t2;  struct  int n;char c;REC;  REC t1,t2;  
typedef struct {int n; char c;}REC; REC t1,t2;  struct REC; {int n; char c;}; REC t1,t2;  typedef struct REC; { int n=0; char c='A';} t1,t2;  stmct { int n; char c;} REC; REC t1,t2;  
typedef struct  struct REC;  int n;char c;REC;  int n;char c;;  REC t1,t2;  REC t1,t2;  typedef struct REC;  struct  int n=0;char c='A';t1,t2;  int n;char c;REC;  REC t1,t2;  
typedef struct  struct REC;
int n;char c;REC; int n;char c;;
REC t1,t2; REC t1,t2;  
typedef struct REC;  struct
int n=0;char c='A';t1,t2; int n;char c;REC;
REC t1,t2;  
typedef struct int n; char c;REC; REC t1,t2;  struct REC; int n; char c;; REC t1,t2;  typedef struct REC; int n=0; char c='A';t1,t2;  struct int n;char c;REC; REC t1,t2;  
typedef struct  int n; char c; REC;  REC t1, t2;  struct REC;  int n; char c;;  REC t1, t2;  typedef struct REC;  int n=0; char c='A'; t1, t2;  struct  int n; char c; REC;  REC t1, t2;  
fread(b,sizeof(struct a),10,fp);  for(i=0;i<10;i++) fread(b[i],sizeof(struct a),1,fp);  for(i=0;i<10;i++) fread(b+i,sizeof(struct a),1,fp);  for(i=0;i<5;i+=2) fread(b+i,sezeof(struct a),2,fp);  
typedef struct int n;char c;REC;  REC t1,t2;  struct REC;  int n;char c;);  REC t1,t2;  typedef struct REC;  int n=0;char c=’A’;t1,t2;  struct  int n;char c;REC;  REC t1,t2;  
typedef struct  int n;char c;);  REC t1,t2;  struct REC;  int n;char c;)REC;  REC t1,t2;  typedef struct REC;  int n;char c;REC;  struct  int n=0;char c='A';t1,t2;  REC t1,t2;  
typedef struct  struct REC;  int n;char c;REC;  int n;char c;;  REC t1,t2;  REC t1,t2;  typedef struct REC;  struct  int n=0;char c='A';t1,t2;  int n;char c;REC;  REC t1,t2;  

热门试题

更多