选择题 以下选项中非法的表达式是
选择题 下列关于栈和队列的描述中,正确的是______。
选择题 建立表示学生选修课程活动的实体-联系模型,其中的两个实体分别是______。
选择题 函数调用strcat(strcpy(str1, str2), str3)的功能是______。
选择题 若有说明语句:int a,b,c,* d=&c;,则能正确从键盘读入三个整数分别赋给变量a、b、d的语句是______
选择题 支持子程序调用的数据结构是______。
选择题 下列程序段的输出结果为 。
#include<stdio.h>
main()
{ static char a[]='language';
char *p;
p=a;
for(p=a;p<a+8;p+=2)
putchar(*p);
}
选择题 设有以下函数:void fun(int n,char*s){...},则下列对函数指针的定义和赋值均正确的是______。
选择题 有以下程序
#include<stdio.h>
main()
{ int k=33;
printf('%d,%o,%x\n',k,k,k);
}
程序的运行结果是______。
选择题 有以下程序:
#include<stdio.h>
main()
{ char a[30],b[30];
scanf('%s',a);
gets(b);
printf('%s%s',a,b);
}
程序运行时若输入:
how are you? I am fine<回车>
则输出结果是______。
选择题 关系数据模型的三个组成部分不包括______。
选择题 以下叙述中错误的是______。
选择题 若变量已正确定义:
for(x=0,y=0; (y!=99x<4); x++);
则以上for循环______。
选择题 有以下程序:
#include <stdio.h>
#include <string.h>
main()
{ char a[]='TEXT',*b='++',c[3]='1';
printf('%d,%d,',strlen(a),sizeof(a));
printf('%d,%d,',strlen(b),sizeof(b));
printf('%d,%d,\n',strlen(c),sizeof(c));
}
程序运行后的输出结果是______
选择题 有以下程序
#include<stdio.h>
main()
{ int m=1,n=2,*p=m,*q=n,*r;
r=p;p=q;q=r;
printf('%d,%d,%d,%d\n',m,n,*p,*q);
}
程序运行后的输出结果是______。
选择题 一间宿舍可住多个学生,则实体宿舍和学生之间的联系是______。
选择题 有以下程序:
#include<stdio.h>
main()
{ int k=-3;
if(k<=0)printf('****\n')
else printf('\n');
}
程序的输出结果是______。
选择题 对于类型相同的指针变量,不能进行______运算。
选择题 下面程序输出的结果是______。
main()
{ int i;
int a[3][3]={1,2,3,4,5,6,7,8,9};
for(i=0; i<3; i++)
printf('% d', a[2-i][i]);
}
选择题 有以下程序:
#include <stdio.h>
main( )
{
chair ch='B';
while (ch<'E')
{
printf('%d', ch-'A');
ch++;
}
printf('\n');
}
程序运行后的输出结果是______。