首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
自考
若有以下说明,则在seanf函数调用语句中对结构体变量成员引用方式不正确的是( ) struct pub {char name[20]; int age; int sex; }pub[5],*P;
若有以下说明,则在seanf函数调用语句中对结构体变量成员引用方式不正确的是( ) struct pub {char name[20]; int age; int sex; }pub[5],*P;
admin
2010-04-24
35
问题
若有以下说明,则在seanf函数调用语句中对结构体变量成员引用方式不正确的是( ) struct pub {char name[20]; int age; int sex; }pub[5],*P;
选项
A、scanf("%s",pup[0].name);
B、scanf("%d",&pup[0].age);
C、scanf("%d",&p->sex);
D、scanf("%d",*P.age);
答案
D
解析
?的优先级远高于"&"和"*"。
转载请注明原文地址:https://jikaoti.com/ti/CDtaFFFM
本试题收录于:
高级语言程序设计题库理工类分类
0
高级语言程序设计
理工类
相关试题推荐
从软件测试技术分类上看,基于事务流的测试被归于__________技术,它只通过外部输入、输出来发现问题,完全不考虑程序的__________。
设被测试的程序段为:begins1;if(x=1)and(y>3)thenS2;if(x
需求发现的常用技术中,无法验证所发现的需求是否满足用户的要求,而且无法验证其正确性的是_________和_________。
设有两个向量C和D,各有4个元素,静态双功能流水线上工作。其中,1→2→3→5组成加法流水线,1→4→5组成乘法流水线。设每个流水线所经过的时间均为△t,而且流水线的输出结果可以直接返回到输入或暂存于相应的缓冲寄存器中,其延迟时间和功能切换所需要的时间都可
计算机组成指的是计算机系统结构的逻辑实现,不包括()
用霍纳法则给定的表达式如下:E=a(b+c(d+ef))+g利用减少树高的办法加速运算,要求:画出树形流程图。
设有一个记录各个球队队员每场比赛进球数的关系模式R(队员编号,比赛场次,进球数,球队名,队长名)如果规定每个队员只能属于一个球队,每个球队只有一个队长。根据以上信息完成如下任务:(1)写出根据该关系模式创建表“比赛情况”的SQL语句;(
DBMS执行CREATEVIEW语句的结果只是把________,并不执行其中的SQL语句。
已知有关系模式R(sno,sname,age),其中sno表示学生的学号,类型为Char(8),前4位表示入学年份。查询所有2003年入学的学生姓名(sname),正确的SQL语句是【】
#include"stdio.h"siructstudent{intnumber;charname[10]="";};main(){stmctstudents;s.num
随机试题
突发公共卫生事件应急处理机制不包括
骨盆分界有关的是()
隙卡沟的正确宽度为A.0.5~0.6mmB.0.6~0.7mmC.0.7~0.8mmD.0.8~0.9mmE.0.9~1.0mm
有关基础代谢率的正确叙述是
自动化仪表工程的高压管道上开孔时,应采用()的方法。
从总体上看,企业的资金来源可分为()和借入资金两种。
清朝的灭亡给中国带来了一个真正的时代,社会震荡,世事忙乱,人们也没有心思去品咂一下这次历史变更的苦涩原味,匆匆忙忙赶路去了。直到1927年6月1日,大学者王国维先生在颐和园投水而死,才让全国的有心人肃然深思。王国维先生的死因众说纷纭,我们且不管它
努力管理策略
Peopleare,onthewhole,pooratconsideringbackgroundinformationwhenmakingindividualdecisions.Atfirstglancethismigh
就资源管理和用户接口而言,操作系统的主要功能包括:处理器管理、存储管理、设备管理和________。
最新回复
(
0
)