单选题运行下面的程序,输入字符串“Microsoft Visual Studio”,则程序的执行结果是( )。 #include<stdio.h> main() {char Chr[20]; scanf(''%s'',&Chr); printf(''%s\n'',car); }
单选题设a和b均为int型变量,且a=6,b=l1,则能使值为3的表达式是( )。
单选题有以下程序:
main( )
{ int m=0256,n=256;
printf("%o %o/n",mn,n);
}
程序运行后的输出结果是( )。
单选题若有以下说明,则对初值中字符a的引用方式为( )。 static struct char ch; double x; char a(); c[2] [3]= 'a',3.5,"bc", 'c',4.5,"de", 'm',8.6,"abc" , 'd',8.5,"ic", 'b',5.5,"dc", 'n',8.6,"anc' ;
单选题有以下程序: #include<stdio.h> #include<stdlib.h> void fun(int * * s.int x[2][3]) ( * *s=*(x[1]+1);} main() { int a[2][3]={1,2,3,4,5,6),*p; p=(int*)malloc(sizeof(int)); fun(&p,a); printf("%d\n",*p); } 程序的运行结果是( )。
单选题如下程序的输出结果是{{U}} {{/U}}。
#include<stdio.h> main() { float
x=20,y; if(x<0.0)y=0.0; else if
(x<10.0)y=1.0/x; else y=110;
printf("%f¨,y); }
A. 0.000000
B. 0.250000
C. 0.500000
D. 1.000000
单选题下列叙述中正确的是______。 A.顺序存储结构的存储空间一定是连续的,链式存储结构的存储空间不一定是连续的 B.顺序存储结构只针对线性结构,链式存储结构只针对非线性结构 C.顺序存储结构能存储有序表,链式存储结构不能存储有序表 D.链式存储结构比顺序存储结构节省存储空间
单选题下面程序的输出是______。
#include<stdio.h>
#include<string.h>
main()
{char p1[]="WHO",p2[]="who",str[50]="xyz";
strcpy(str+1,strcat(p1,p2));
printf("%s",str);
}
单选题有以下程序: #include<stdio.h> void fun(char**p) ++p;printf("%s/n",*p); main() char *a[]="Morning","Afternoon","Evening","Night"; fun(
单选题设有如下程序 #include<stdio.h> main() { int **k, *j,i=100; j= k= printf("%d/n"”,**k); } 上述程序的输出结果是______。
单选题在嵌套使用if语句时,C语言规定else总是______。 A) 和之前与其具有相同缩进位置的if配对 B) 和之前与其最近的if配对 C) 和之前与其最近不带else的if配对 D) 和之前的第一个If配对
单选题若有定义语句:
int year=2009, *p=
以下不能使变量year中的值增至2010的语句是______。
单选题算法中的每一个步骤都必须是有明确意义的,不允许有模棱两可的解释,也不允许有多义性,这个性质称为
A. 可行性
B. 有穷性
C. 正确性
D. 确定性
单选题中国国家计算机网络设施是 ( )
单选题若有定义语句: char s[10]="1234567\0"; 则strlen(s)的值是( )。
单选题有以下程序:
#include <stdio.h>
main( )
{
char name[10] = {"S","T","R"};
name[2] ="#"; name[6] = 0;
printf("%s/n", name);
}
程序运行后的输出结果是______。
单选题按照C语言规定的用户标识符命名规则,不能出现在标识符中的是
单选题设x、y和z是int型变量,且x=4,y=6,z=8,则下列表达式中值为0的是( )。
单选题在下列语句中,正确的是 ( )
单选题C语言中最基本的数据类型包括( )。