单项选择题
以下结构体类型说明和变量定义中正确的是
A) typedef struct
int n; char c; REC;
REC t1, t2;
B) struct REC;
int n; char c; ;
REC t1, t2;
C) typedef struct REC;
int n=0; char c='A'; t1, t2;
D) struct
int n; char c; REC;
REC t1, t2;
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
若有定义int a[9], *p=a; ,则p+5表示
A) 数组元素a[5]的值
B) 数组元素a[5]的地址
C) 数组元素a[6]的地址
D) 数组元素a[0]的值加上5
点击查看答案&解析
单项选择题
以下程序的功能是计算s=1+12+123+1234+12345。 main() int t=0, s=0, i; for(i=1; i<=5; i++) t=i+; s=s+t; printf( s=d% n ,s); 则程序运行后的输出结果是
A) t
B) t *10
C) t*100
D) t+10
点击查看答案&解析
相关试题
f.txt
FILE
以下程序中函数f的功能是在数组x的n个数(...
有以下程序: #include<stdio.h> int...
fun(10)