单项选择题

有以下程序
#include <stdio.h>
mare()
int x=1,y=2,z=3;
if(x>y)
if(y<z) printf("%d",++z);
else printf("%d",++y);
printf("%d\n",x++);

程序的运行结果是()。

A) 331
B) 41
C) 2
D) 1

<上一题 目录 下一题>
热门 试题

单项选择题
有以下函数 int fun(char *x,char *y) int n=0; while((*x==*y)&&*x!=' 0')x++; y++; n++; return n; 函数的功能是( )。
A)查找x和y所指字符串中是否有'\0'
B)统计x和y所指字符串中最前面连续相同的字符个数
C)将y所指字符串赋给x所指存储空间
D)统计x和y所指字符串中相同的字符个数
单项选择题
消除SQL SELECT查询结果中的重复记录,可采取的方法是()。

A) 通过指定主关键字
B) 通过指定唯一索引
C) 使用DISTINCT短语
D) 使用UNIQUE短语

相关试题
  • 有以下程序: #include <stdio.h> v...
  • 有以下程序: #include<stdio.h> mai...
  • 有以下程序: main() unsigned char ...
  • 有以下程序 #include<stdio.h> main...
  • 以下程序的输出结果是( )。 #include...