笔果题库
计算机二级C语言程序设计
VIP题库
搜题找答案,就上笔果题库
有以下函数int fun( char *s, char *t ){ while(( *s )&&( *t ) && (*t++ == *s++ ) );return (*s-*t);}函数的功能是______。
搜题找答案,就上笔果题库
有以下程序#include int disp(char* str){while (*str) putchar(*str++);putchar(''#'');return *str;}main(){printf("%d\n", disp("C##123"));}程序运行后的输出结果是______。
搜题找答案,就上笔果题库
若有说明:int i,j=7,*p=&i;则与i=j;等价的语句是______。
搜题找答案,就上笔果题库
关于数组和指针,以下说法错误的是______。
搜题找答案,就上笔果题库
若有定义语句:double a,*p=&a;以下叙述中错误的是_____。
搜题找答案,就上笔果题库
有以下程序#include main(){ int a[10]={0},i=0,*p=a;while( p
搜题找答案,就上笔果题库
以下定义语句中正确的是______。
搜题找答案,就上笔果题库
有以下程序int *f(int *x,int *y){ if(*x
搜题找答案,就上笔果题库
函数fun的功能是在a所指的具有n个元素的数组中查找最大值并返回给调用函数,函数不完整。int fun(int *a,int n){ int *p,*s;for( p=a,s=a; p-a
搜题找答案,就上笔果题库
下列函数的功能是______。fun(char *a,char *b){ while((*b=*a)!=''\0'') {a++;b++;} }