![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[主观题]
下面程序的输出结果是______。 main() { int x=11,*p=x; *p=23; printf("%d",x); }
下面程序的输出结果是______。
main()
{
int x=11,*p=x;
*p=23;
printf("%d",x);
}
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
下面程序的输出结果是______。
main()
{
int x=11,*p=x;
*p=23;
printf("%d",x);
}
有以下程序: void f(int*x,iht * y) { int t; t=*x;*x;=*y;*y=t; } main() { int a[8]={1,2,3,4,5,6,7,8},i,*p,*q; p=a;q=&a[7]; while(p) { f(p,q);p++;q--;} for(i=0;i<8;i++)printf("%d,",a[i]); } 程序运行后的输出结果是【 】。
下面程序的输出结果是【 】。 include <stdio.h> main() { staic char b[]="Goodbye"; char * chp = &b [7]; while(- - chp>=&b[0])putchar (* chp); printf("\n"); }
A.输出空格
B.\0
C.e
D.f
A.大卫,美国
B.美国,大卫
C.大卫,中国
D.报错
A.9
B.22
C.20
D.18
A.sum is: 5
B.sum is:15
C.sum is:14
D.sum is:10
A.编译错误
B.x>y
C.x=y
D.x
以下程序的输出结果是______。 include<stdio.h> main() { double a=1234.56789; printf("%8.4f,%8.2f\n",a,a); }