单项选择题

有以下程序 main() {int x=10,y=10;printf("%d%d\n",x--,--y);} 程序运行后的输出结果是 ( )

A.10 10
B.9 9
C.9 10
D.10 9
<上一题 目录 下一题>
热门 试题

单项选择题
有如下定义: struct person {char name[9];int age;} struct person class[10]={ John ,17, Paul ,19, Mary ,18, Adam ,16}; 能输出字母M的是 ( )
A.printf("%c\n",class[3].nam;
B.printf("%c\n",class[3].name[1]);
C.printf("%c\n",class[2].name[1]);
D.printf("%c\n",class[2].name[0]);
单项选择题
在计算机中,算法是指 ( )
A.加工方法
B.解题方案的准确而完整的描述
C.排序方法
D.查询方法
相关试题
  • 若有如下程序: struct student {char...
  • 有以下程序 并include<stdio.h> #inc...
  • 设有如下程序: #include string.h ma...
  • 有以下程序 union myun { struct {i...
  • 需求分析阶段的任务是确定 ( )