笔果题库
计算机二级C语言程序设计
VIP题库
搜题找答案,就上笔果题库
设有以下定义char s1[]="0123";char s2[]={''0'',''1'',''2'',''3''};则以下叙述正确的是______。
搜题找答案,就上笔果题库
若有定义:char c="hello!";,则以下说法正确的是______。
搜题找答案,就上笔果题库
设有定义语句:char *aa[2]={"abcd","ABCD"};则以下叙述正确的是______。
搜题找答案,就上笔果题库
有以下程序#include int fun(char *s){ char *p=s;while( *p != ''\0'') p++;return(p-s);}main(){ char *p="01234";printf("%d\n",fun(p));}程序的运行结果是______。
搜题找答案,就上笔果题库
有以下程序#include main(){ char w[20], a[5][10] = {"abcdef", "ghijkl", "mnopq", "rstuv", "wxyz"};int i,j;for (i=0; i
搜题找答案,就上笔果题库
有以下程序#include int f(int m){ static int n=0;n+=m;return n;}main(){ int n=0;printf("%d,",f(++n));printf("%d\n",f(n++));}程序运行后的输出结果是______。
搜题找答案,就上笔果题库
若有以下程序 #include main() { char a[20], b[ ]="The sky is blue."; int i; for (i=0; i
搜题找答案,就上笔果题库
有以下程序main(){ char ch[]="uvwxyz",*pc;pc=ch; printf("%c\n",*(pc+5));}程序运行后的输出结果是______。
搜题找答案,就上笔果题库
若有定义:char s[30] = {0};运行时输入:This is a string.则以下不能正确读入整个字符串:This is a string. 到字符数组 s 中的语句组是______。
搜题找答案,就上笔果题库
有以下程序main(){char s[]={"aeiou"},*ps;ps=s; printf("%c\n",*ps+4);}程序运行后输出的结果是______。