单选题以下程序的输出结果是 #include int a[3][3]=1,2,3,4,5,6,7,8,9,,*p; main( ) p=(int *)malloc(sized(int)); f(p,a) ; printf("%d/n",*p); free(p); f(int *s,int p[ ][3]) *s=p[1][1]; A)1 B)4 C)7 D)5
单选题在软件开发中,需求分析阶段产生的主要文档是( )。
单选题有以下结构体说明、变量定义和赋值语句:
struct STD
{ char name[10];
int age;
char sex;
}s[5],*ps;
ps=&s[0];
则以下scanf函数调用语句有错误的是______。
单选题有以下程序: main() int c=35; printf("%d/n", c&c); 程序运行后的输出结果是( )。 A) 0 B) 70 C) 35 D) 1
单选题设顺序表的长度为40,对该表进行冒泡排序。在最坏情况下需要的比较次数为______。
单选题软件需求分析阶段的工作,可以分为4个方面:需求获取、需求分析、编写需求规格说明书以及( )。 A) 阶段性报告 B) 需求评审 C) 总结 D) 以上都不正确
单选题有下列程序:
#include<stdio.h>
void fun(int p)
{ int d=2;
p=d++;printf("%d",p);}
main()
{ int a=1;
fun(A) ;printf("%d/n",A) ;}
程序运行后的输出结果是( )。
单选题请阅读以下程序:
#include<stdio.h>
main()
{ int x=1,y=0,a=0,b=0;
switch(x)
{ case 1:
switch(y)
{ case 0:a++;break;}
case 2:
a++,b++;break;}
printf("a=%d,b=%d/n",a,b);
上面程序的输出结果是
单选题有以下程序:
#include <stdio.h>
main()
{ struct cmplx{int x; int y;} cnum[2]={1,3,2,7};
printf("% d/n", cnum[0].y/cnum[0].x*cnum[1].x);
}
则正确的输出结果为______。
单选题有以下程序:
#include<stdio.h>
main()
{char X="A";
x=(x>="A"
printf("%c/n", x);
}
程序的输出结果是______。
单选题在Windows环境下,能实现窗口移动的操作是( )
A.用鼠标拖动窗口中的任何部位
B.用鼠标拖动窗口的边框
C.用鼠标拖动窗口的控制按钮
D.用鼠标拖动窗口的标题栏。
单选题有两个关系R,S如下:由关系R通过运算得到关系S,则所使用的运算为______。
单选题下面不属于需求分析阶段任务的是
单选题我们所写的每条C语句,经过编译最终都将转换成二进制的机器指令。关于转换以下说法错误的是( )。
单选题有以下程序: #include<stdio.h>
#include<stdlib.h> fut(int**s, int p[2][3]) {**s=p[1][1];
} main() {int a[2][3]={1, 3, 5, 7, 9, 11},
*p; p=(int*) malloc(sizeof(int)); fut(
printf("%d/n", *p); } 程序的运行结果是
A.1
B.7
C.9
D.11
单选题下列描述中正确的是
单选题阅读下列程序,则在执行后,程序的运行结果为 #include"stdio.h" #include"string.h" main() char a[30]="nice to meet you!"; strcpy(a+strlen(
单选题以下程序依次把从终端输入的字符存放到f文件中,用#作为结束输入的标志,则在横线处应填入的选项是
#include
main(){FILE*fp;
char ch;
fp=fopen("fname","w");
while((ch=getchar())!='#')
fputc(________);
felose(fp);
}
单选题有下列程序: #include<stdio.h> struct ord int x,y;)dt[2]=1,2,3,4; main() struct ord*p=dt; printf("%d,",++p->x);printf("%d,",++p->y); 程序的运行结果是( )。 A.1,2 B.2,3 C.3,4 D.4,1
单选题以下不能定义为用户标识符是