首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下面结构体的定义语句中,错误的是
下面结构体的定义语句中,错误的是
admin
2019-12-17
30
问题
下面结构体的定义语句中,错误的是
选项
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;
答案
B
解析
在选项B中,由于在定义完结构体后缺少分号“:”,所以这是一条不完整的语句,因而是错误的。
转载请注明原文地址:https://kaotiyun.com/show/e1Cp777K
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
下列叙述中正确的是
以下选项中,没有编译错误的是
下面不属于软件设计阶段任务的是
在软件开发中,需求分析阶段产生的主要文档是
下列选项中不属于软件生命周期开发阶段任务的是
一间宿舍可住多个学生,则实体宿舍和学生之间的联系是
一棵二叉树中共有80个叶予结点与70个度为1的结点,则该二叉树中的总结点数为
若x和y代表整型数,以下表达式中不能正确表示数学关系|x-y|<10的是
以下不合法的字符常量是
在进行逻辑设计时,将E—R图中实体之间联系转换为关系数据库的()。
随机试题
对我国经济发展起主导作用的是()
(2014年)材料一(案情):2012年3月,建筑施工企业原野公司股东王某和张某向工商局提出增资扩股变更登记的申请,将注册资本由200万元变更为800万元。工商局根据王某、张某提交的验资报告等材料办理了变更登记。后市公安局向工商局发出10号公函称,王某与张
房地产项目定位中的形象定位是建立在以下几个定位基础上()。
如题30图水泵系统,已知上下游液面高差HZ=10m,流量Q=10L/s,容器上的压力表读数为98.1kPa,管路系统的总损失为4m,水泵的有效功率为()kW。
企业在销售收入确认之后发生的销售折让(不属于资产负债表日后事项),应在实际发生时冲减发生当期的收入。()
甲公司2014年年初递延所得税负债的余额为零,递延所得税资产的余额为30万元(系2013年年末应收账款的可抵扣暂时性差异产生)。甲公司2014年度有关交易和事项的会计处理中,与税法规定存在差异的有:资料一:2014年1月1日,购入一项非专利技术并立即用于
突现行为是复杂系统一种公认的共性,是指系统无法轻易根据其基本组成部分加以预测,系统整体大于、并常常明显不同于其各部分之和。根据上述定义,下列不具有突现行为的是:
有三只盒子,每只盒子里面装了两只球,分别是黑黑、白白、黑白。每只盒子都贴上了标明内容的标签,但所有的标签都贴错了。要求:打开一只盒子,但只能取出一个球来,看过之后把所有的标签都纠正过来。可以打开的盒子是:
类是一个支持集成的抽象数据类型,而对象是类的______。
HowmuchdidMr.Johnsonpayfortheshirt?
最新回复
(
0
)