笔果题库
计算机二级C语言程序设计
VIP题库
搜题找答案,就上笔果题库
以下程序的输出结果是______。main(){ char ch[3][5]={"AAAA","BBB","CC"};printf("%s\n",ch[1]);}
搜题找答案,就上笔果题库
若有以下说明:int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a;则值为6的表达式是______。
搜题找答案,就上笔果题库
有如下程序main(){ char ch[2][5] = {"6937","8254"},*p[2]; int i,j,s = 0; for(i = 0; i < 2; i++) p[i] = ch[i]; for(i = 0; i < 2; i++) for(j = 0; p[i][j] > ''\0''; j += 2) s = 10*s + p[i][j] - ''0''; printf("%d\n",s);}该程序的输出结果是______。
搜题找答案,就上笔果题库
若有定义:a[]={1,2,3,4,5,6,7,8,9,10};,则a[a[5]-a[7]/a[1
搜题找答案,就上笔果题库
运算符[]内的数据类型只能是______。
搜题找答案,就上笔果题库
有以下程序#include main(){ char str[][20]={"Hello","Beijing"},*p=str;printf("%d\n",strlen(p+20));}程序运行后的输出结果是______。
搜题找答案,就上笔果题库
若有以下程序#include #define N 4void fun( int a[][N], int b[], int flag ){ int i,j;for( i=0; i
搜题找答案,就上笔果题库
对于以下函数声明void fun(int array[4], int *ptr);以下叙述中正确的是______。
搜题找答案,就上笔果题库
以下定义语句中,错误的是______。
搜题找答案,就上笔果题库
有以下程序#include void f(int *p);main(){ int a[5]={1,2,3,4,5},*r=a;f(r); printf("%d\n",*r);}void f(int *p){ p=p+3; printf("%d,",*p);}程序运行后的输出结果是______。