已有声明“int a[3][3]={1,2,3,4,5},*p1=a[1],(*p2)[3]=a;”,以下选项中不能输出5的语句是 (2019考题)
查看答案
分析程序的执行过程,给出最后的输出结果void f(int a, int *b){ a++; b++; (*b)++; }int main(){ int x[2]={4,4};f(x[0], &x[0]);cout<
分析程序的执行过程,给出最后的输出结果int main(){ char *s, *s1="Here";s=s1;while(*s1) s1++;cout<<(s1-s)<
分析程序的执行过程,给出最后的输出结果int fun(char s[]){ int n=0;while(*s<='9'&&*s>='0'){ n=10*n+*s-'0'; s++;}return n;}int main(){ char s[10]={'6','1','*','4','*','9','*','0','*'};cout<
分析程序的执行过程,给出最后的输出结果int a[3][2]={{1,2},{10, 20},{15, 30}};int x, *p;p=&a[0][0];x=*p*(*(p+3))*(*(p+5));