单项选择题
有以下程序: #include <stdio.h> int fun(char *s) { char *p=s; while(*p !="\0")p++; return(p-s); } main() { char *p="01234"; printf("%d\n",fun(p)); } 程序的运行结果是______。
单项选择题 有以下程序:#include <stdio.h>main(){ char s[10]="verygood", *ps=s;ps+=4;ps="nice";puts(s);}程序的运行结果是______。
单项选择题 以下不能将键盘输入的字符串:This is a string<回车>读入到str中的程序段是______。
单项选择题 设有以下说明和语句:int x[3][4],(*p)[4];p=a;,则与表达式*(* p+2)等价的选项是______。