选择题 以下不能将s所指字符串正确复制到t所指存储空间的是______。
选择题 有以下程序
#include<stdio.h>
main()
{ int a=0,b=0,c=0,d=0;
(a++b++) ? c++ : d++;
printf('%d,%d,%d,%d\n', a,b,c,d);
}
程序的运行结果是______。
选择题 有以下程序:
#include<stdio.h>
main()
{ int a[4],p,x,i;
for(i=3;i>0;i--)a[i-1]=i*2-1;
scanf('%d',x);
i=0;
while(a[i]<x)i++;
p=i;
for(i=3;i>p;i--)a[i]=a[i-1];
a[p]=x;
for(i=0;i<4;i++)printf('%3d',a[i]);
printf('\\n');
}
执行时输入:2<回车>,则输出结果是______。
选择题 合法的C语言赋值语句是______。
选择题 有以下程序:
#include <stdio.h>
#include <string.h>
char * a = 'you';
char * b = 'Welcome you to Beijing!';
main( )
{ char * p;
p = b;
while (*p!= *a)p++;
p += strlen(a) + 1;
printf('%s\11',p);
}
程序运行后的输出结果是______。
选择题 设有定义:char p[]={'1', '2', '3'}, *q=p;,以下不能计算出一个char型数据所占字节数的表达式是______。
选择题 若有定义语句:
char c='\101';
则变量c在内存中占______。
选择题 有以下程序
#include<stdio.h>
void fun(char *c,int d)
{ *c=*c+1;
d=d+1;
printf('%c,%c,',*c,d);
}
main()
{ char b='a',a='A';
fun(b,a);
printf('%c,%c\n',b,a);
}
程序运行后的输出结果是______。
选择题 以下对枚举类型名的定义中正确的是______。
选择题 下列关于栈的叙述正确的是______。
选择题 通常软件测试实施的步骤是______。
选择题 以下叙述中正确的是______。
选择题 有以下程序:
#include<stdio.h>
main()
{
int a=1,b=2,c=3,d=0;
if(a==1b++==2)
if(b!=2||c--!=3)
printf('%d,%d,%d\n',a,b,c);
else printf('%d,%d,%d\n',a,b,c);
else printf('%d,%d,%d\n',a,b,c);
}
程序的运行结果是______。
选择题 下面程序的运行结果是
#include<stdio.h>
main
{ int a=1,b=10;
do
{b-=a;a++;}while(b--<0);
printf('a=%d,b=%d\n',a,b);
}
选择题 在关系数据库中,用来表示实体间联系的是______。
选择题 表达式a+=a-=a=9的值是______。
选择题 以下叙述中正确的是______。
选择题 设有n个数按从大到小的顺序存放在数组x中,以下能使这n个数在X数组中的顺序变为从小到大的是______。
选择题 下面不属于白盒测试方法的是______。
选择题 以下叙述中错误的是 。