单项选择题

以下程序的输出结果是( )。
#include <stdio.h>
main()
int n=4;
while(n--) printf("%d ",--n);

A.2 0
B.3 1
C.3 2 1
D.2 1 0
<上一题 目录 下一题>
热门 试题

单项选择题
若x是int型变量,且有下面的程序段: for(x=3;x<6;x++) printf((x%2)( **%d ):( ##%d n ),x); 此程序段的输出结果是( )。
A.**3
##4
**5
B.##3
**4
##5
C.##3
**4##5
D.** 3##4
**5
单项选择题
数据库、数据库系统和数据库管理系统之间的关系是( )。
A.数据库包括数据库系统和数据库管理系统
B.数据库系统包括数据库和数据库管理系统
C.数据库管理系统包括数据库和数据库系统
D.三者没有明显的包含关系
相关试题
  • 请选出以下程序的输出结果( )。 #incl...
  • 已知字符0的ASCII码为十六进制的30,现...
  • 有以下程序: #include <stdio.h> m...
  • 请读程序: #include <stdio.h> fun...
  • 读程序: #include <stdio.h> f(in...