填空题

以下程序运行后的输出结果是 【7】 。 #include <stdio.h> main() { char m; m=’B’+32; printf("%c\n",m); }

【参考答案】

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

单项选择题
以下程序中函数scmp的功能是返回形参指针s1和s2所指字符串中较小字符串的首地址。 #include <stdio.h> #include <string.h> char *scmp(char*s1,char*s2) { if(strcmp(s1,s2)<0) return(s1); else return(s2); } main() { int i; char string[20],str[3][20]; for(i=0;i<3;i++) gets(str[i]); strcpy(string,scmp(str[0],str[1])); *库函数strcpy对字符串进行复制* strcpy(string,scmp(string,str[2])); printf( %s n ,string); } 若运行时依次输入:abcd、abba和abc三个字符串,则输出结果为( )。
A.abcd
B.abba
C.abc
D.baca
填空题
数据库系统的三级模式分别为 【5】 模式、内部级模式与外部级模式。
相关试题
  • 以下程序运行后的输出结果是 【20】 。...
  • 以下程序运行后的输出结果是 【19】 。...
  • 以下程序运行后的输出结果是 【18】 。...
  • 执行以下程序后,输出“#”的个数是 【1...
  • 以下程序运行后的输出结果是 【17】 。...