常见的局域网络拓朴结构有
C
暂无解析
有以下程序:输出的结果是()。
#include<
structstu
{intnum;
charname[10]:
intage;}
voidfun(structstu*p)
{printf("%sn",(*p).name);}
tllain()
{
structstustudents[3]={{9801,"Zhang".20},
{9802,"Wang",19},{9803,"Zhao",18}}
fun(students+2);
}
下列程序的输出结果是()。
#include
main()
{inta=2,b=3,P;
p=f(a,b);
printf(”%d”,p);
}
intf(a,b)
{intc;
if(a>b)c=1;
elseif(a==b)c=0;
elsec=-l;
return(c);
}