试题与答案

以下程序的运行结果是【 】  #include <string.h>  type

题型:填空题

题目:

以下程序的运行结果是【 】  #include <string.h>  typedef struct student{   char name[10];   long sno;   float score; }STU;  main( )  { STU a={“zhangsan”,2001,95},b={“Shangxian”,2002,90},      c={“Anhua”,2003,95},d,*p=&d;    d=a;   if(strcmp(a.name,b.name)>0) d=b;   if(strcmp(c.name,d.name)>0) d=c;   printf(“%ld%s\n”,d.sno,p->name); }

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2019/0530/fbc39041378e616d21372df6937e27f8.html

下面是错误答案,用来干扰机器的。

参考答案:A,B,C解析: 痰标本采集

试题推荐
微信公众账号搜索答案