首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下面结构体的定义语句中,错误的是( )。
下面结构体的定义语句中,错误的是( )。
admin
2021-04-28
39
问题
下面结构体的定义语句中,错误的是( )。
选项
A、struct ord {int x;int y;int z;} struct ord a;
B、struct ord {int x;int y;int z;}; struct ord a;
C、struct ord {int x;int y;int z;} a;
D、struct {int x;int y;int z;} a;
答案
A
解析
转载请注明原文地址:https://kaotiyun.com/show/PCtp777K
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
有以下程序#include<stdio.h>intfun(intx){intp;if(x::0||x==1)return(3);p=x-fun(x-2);return(p);}main(){printf("%d\n",fun(9));}程
有以下程序voidfun1(char宰P)main(){char*q;{chara[]={"Program"),*p;q=p;
有以下程序#includeintflintx){inty;if[x==0‖x==1)retulm(3);y=x*x-f(x-2);returny;}main(
有如下嵌套的if语句if(a<b)if(a<c)k=a;elsek=c;elseif(b<c)k=b;elsek=c;以下选项中与上述if语句等价的语句是
设顺序表的长度为n。下列排序方法中,最坏情况下比较次数小于n(n-1)/2的是
若有以下程序,则程序的输出结果是#defineS(x)x*x#defineT(x)S(x)*S(x)main(){intk=5,j=2;printf("%d,%d\n",S(k+j),T(k+j));}
下面不属于软件工程过程的4种基本活动
下列选项中,能够满足“只要字符串s1等于字符串s2,则执行sT”要求的是()。
以下选项中非法的C语言字符常量是
已知学生的记录由学号和学习成绩构成,N名学生的数据已存入a结构体数组中。请编写函数fun,函数的功能是:找出成绩最低的学生记录,通过形参返回主函数(规定只有一个最低分)。注意:部分源程序存在文件PROG1.C文件中。请勿改动主函数main和其他函数中的
随机试题
根据《莛发事件应对法》,关于突发事件等级划分的说法,正确的是()。
充气式蓄能器的功用有哪些?
全血标本在室温放置一段时间后,血糖浓度有何变化
每种药品批准生产上市并不意味着对其评价的结束的原因是
如果上市公司以其应付票据作为股利支付给股东,则这种股利的支付方式称为()。
Thereareadvantageforstudentstoworkwhile【M1】______studyingatschool.Oneofthemwasthat【M2】______theycanearnmone
Everygenerationofpeopleisdifferentinimportantways.Howisyourgenerationdifferentfromyourparents’generation?Uses
LaughterIstheKeytoHappinessI.Howtobehappier?1)tonsofthingsrelatedtohappiness—【T1】,hobby,agoodjob,awarmf
A、Becausemanypeoplearen’tsociable.B、Becausemostpeopleareshybynature.C、Becausenobodywilllaughatshypeople.D、Bec
Thereisapopularbeliefamongparentsthatschoolsarenolongerinterestedinspelling.Thisis,however,a【C1】______.Nosch
最新回复
(
0
)