题目内容

11.企业专设销售机构销售出商品的成本应计入销售费用。()

A. 对
B. 错

查看答案
更多问题

下列程序输出的结果是什么()#include#includetypedefstruct{charname[9];charsex;floatscore[2];}STU;voidfun(STUa){STUb={"Zhao",'m',85.0,90.0};inti;strcpy(a.name,b.name);a.sex=b.sex;for(i=0;i<2;i++)a.score[i]=b.score[i];}intmain(){STUc={"Qian",'f',95.0,92.0};fun(c);printf("%s,%c,%2.0f,%2.0f\n",c.name,c.sex,c.score[0],c.score[1]);return0;}

A. Qian,f,95,92
B. Qian,m,85,90
C. Zhao,f,95,92
D. Zhao,m,85,90

已知有描述学生信息的结构体如下,则对学生生日赋值正确的是()struct student{int num;char name[20];struct{int year;int month;int day;}birth;};struct student stu ;

A. year=2019 month=11 day=12
B. birth.year=2019 birth.month=11 birth.day=12
C. s.year=2019 s.month=11 s.day=12
D. s.birth.year=2019 s.birth.month=11 s.birth.day=12

在CFREE 5环境下(int类型占4个字节),以下程序的运行结果是()#includeint main(){struct date{int year;int month;int day;} birth;printf(“%d\n”,sizeof(struct date));return 0;}

A. 10
B. 12
C. 6
D. 8

在CFREE 5环境下(int类型占4个字节,char类型占1个字节,double占8个字节),以下程序输出结果是()#includeint main(){union date{int year;char month;double day;} birth;printf("%d\n",sizeof(birth));return 0;}

A. 12
B. 10
C. 8
D. 6

答案查题题库