首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
以下程序用来输出结构体变量ex所占存储单元的字节数,请填空。 struct st { char name[20];double score;}; main() { struct st ex; pfintf("exsize:%d\n",sizeof(__
以下程序用来输出结构体变量ex所占存储单元的字节数,请填空。 struct st { char name[20];double score;}; main() { struct st ex; pfintf("exsize:%d\n",sizeof(__
admin
2010-12-10
23
问题
以下程序用来输出结构体变量ex所占存储单元的字节数,请填空。
struct st
{ char name[20];double score;};
main()
{ struct st ex;
pfintf("exsize:%d\n",sizeof(______));}
选项
A、 struct st或ex
答案
解析
转载请注明原文地址:https://kaotiyun.com/show/aQPp777K
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
如果要定义一个窗体级变量,定义变量语句的位置应该是
在运行时,如果按Tab键跳过了一个可以获得焦点的控件(如文本框),其原因可能是
(1)在考生文件夹下有一个工程文件sjt3.vbp,相应的窗体文件为sit3.frm。在窗体上有一个命令按钮,其名称为Command1,标题为“添加”;有一个文奉框,名称为Text1,初始内容为窄白;有一个列表框,名称为List1。程序运行后,在文本框中输
某人创建了一个工程,其界面如图所示,其中,图像的名称为Imagel,动滚条的名称为HScrom。希望在程序运行时,移动滚动框可以使图像框的宽度随之变化,而图像完整地拉宽或压缩,为此,编写了下面的程序代码:PrivateSubFormLoad()
在考生目录下已有一个工程文件sjt5.vbp。运行程序后,分别从两个文件中读出数据,放入两个一维数组a、b中。请编写程序,当单击“合并数组”按钮时,将a、b数组中相同下标的数组元素的值求和,并将结果存入数组c。单击“找最大值”按钮时,调用find过程分别找
(1)在考生文件夹下有一个工程文件sjt3.vbp。程序的功能是通过键盘输入正整数到文本框中。在“除数”框架中选择一个单选按钮,然后单击“处理数据”命令按钮,将大于文本框中的正整数,并且能够被所选除数整除的5个数添加到列表框List1中,如图所示。在窗体文
下列模式中,能够给出数据库物理存储结构与物理存取方法的是()。
为了在运行时能显示窗体左上角的控制框(系统菜单),可以设置以下哪个属性的值为True()。
在数据库管理技术发展的三个阶段中,没有专门的软件对数据进行管理的是()。
随机试题
案情:张浩然和林天河是东塔村村民,因都看好未来几年的水果市场,两人都想在东塔村所拥有的山岭上种植果树。于是向乡政府申请该山岭的使用权,两人都向乡政府递交了相关材料,乡政府在审查过程中,张浩然贿赂了相关人员,最后乡政府裁定张浩然可以使用该山岭。林天
某省高级人民法院依照审判监督程序审理某案,发现张某是必须参加诉讼的当事人,而一、二审法院将其遗漏。在这种情况下该省高级人民法院应当如何处理?(2006年卷三第49题)
1)工程概况(1)任务来源为了满足产权登记的需要,××测绘技术公司受××公司委托,对××住宅小区进行房产测绘。该小区共有建筑56栋,规划建筑面积22.5万m2,有独栋、多层住宅、小高层和综合服务楼等多种建筑形式。(2)测区范围该项目测区位于××区,
浓酱兼香型“白云边”酒南不知名到知名,并且市场前景大好,但还是要持续保持和增强自己的市场竞争力,名牌是一代创、代代保,没有名牌要立志创名牌,有了名牌也只能作为竞争的起点。由此可以推出()。
下列对公文审核结果的处理方法中,正确的是()。
根据艾里克森的理论,儿童逐渐从异性同伴中找到替代自己异性父母的对象,使恋父或恋母情结得到解决的原因是()
Dopeoplegethappierormorefoul-temperedastheyage?Stereotypesofirritableneighbors【B1】______,scientistshavebeentry
EconomicReforminChinaMoreUSsinologistshaveexpressedconfidenceinChina’seconomicreformandtheprospectsforChina
PhishCorunsanumberoffarmsinthearidprovinceofNufa,dependinglargelyonirrigation.Now,aspartofaplantoefficien
Blueistheworld’sfavoritecolor.Itisalsothecolormostoften【S1】______withintellectandauthority.Mostuniformsare
最新回复
(
0
)