单项选择题
下面结构体的定义语句中,错误的是
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;
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序#include#define f(x) x*x*xmain(){int a=3,s,t;s=f(a+1); t=f((a+1));printf( %d,%d ,s,t);}程序运行后的输出结果是
A.10,64
B.10,10
C.64,10
D.64,64
点击查看答案
单项选择题
有以下程序#includeint f(int n);main(){int a=3,s;s=f(a);s=s+=(a);printf(“%d n”,s);}int(int n){statie int a=1;n+=a++;return n;}程序运行后的输出结果是
A.7
B.8
C.9
D.10
点击查看答案
相关试题
下列关于C语言文件的细述中正确的是
若有以下程序int r=8;printf( %d n...
设有定义:char *c; ,以下选项中能够...