首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
自考
struct stu { int num, char name [ 10 ] ; int age void py( struct stu * p) main() { struc
struct stu { int num, char name [ 10 ] ; int age void py( struct stu * p) main() { struc
admin
2016-12-25
3
问题
struct stu
{ int num,
char name [ 10 ] ;
int age
void py( struct stu * p)
main()
{ struct stu student[3] = { { 1001,"Sun",25 },
{ 1002,"Ling",23 } ,
{ 1003,"Shen",22 } } ;
py( student +1) ;
}
选项
答案
Ling
解析
转载请注明原文地址:https://kaotiyun.com/show/TVAx777K
本试题收录于:
高级语言程序设计题库理工类分类
0
高级语言程序设计
理工类
相关试题推荐
#include<stdio.h>#defineN10inttable[N*N];voidmuld(){inti,j;for(i=0;i<N;++i){for(j=0;j<N;++j)
#include"stdio.h"structdate{intyear=2000;intmonth;intday;};main(){structdated;d.mo
下面的程序是利用公式求π的近似值,直到最后一项的值小于10-7为止;最后输出π的近似值。请根据题义编写计算π的函数。#include<stdio.h>#include<math.h>doublefpi();main
#include<stdio.h>main()(inta=100,b=200,c=300,d,*p1=&a,*p2=&b,*p3=&c;d=*p1+*p2:printf("d=%d\n",d);p1=&d:
#include<stdio.h>#include<string.h>structnumber{inti;floatx;charc[50];}num=(1954,"University"
设struct{charname[10];intage;}stu[2]={{"Tom",25},{"Mary",26}},*p=stu;则执行语句printf("%S%d\n",P—>name,stu[1].age);后输出结果是()
设有数据定义语句struct{charn[20];10ngm[30];}x;,则为变量x所分配的内存字节数是_________个。
随机试题
运用层次分析法分析下列句子:(1)他比我们好一些。(2)我认真地看两遍。(3)老张说的有道理。(4)思想教育他十分重视。
Theuniverse,______weknow,mighthavebegunwithgreatexplosion.
连某因患严重的躁狂抑郁障碍,正在精神病专科医院住院治疗。因病情恶化,患者出现伤人毁物等行为,医院在没有其他可替代措施的情况下,对其实施了约束身体的措施,但实施后没有及时通知连某的监护人。连某的父亲作为监护人探视时,看到儿子被捆绑在病床上非常气愤。对患者
胃之募穴的定位是()。
特许经营融资招标项目中,()是反映申请人资格能力的关键因素。
对无房和住房未达到规定标准的职工实行住房补贴的前提条件之一是房价收入比在()倍以上。[2004年考题]
商标权的客体,是指()。
导游要确立在旅游团中的主导地位是由()决定的。
当代中国所提出的教育导向思想是()。
设A为三阶矩阵,且|A|=4,则=_______
最新回复
(
0
)