题目内容

下面程序段的运行结果是____。int fun(int x, int y, int *c, int *d){ *c = x + y; *d = x - y;}int main(){ int a = 3, b = 10, c, d; fun(a, b, &c, &d); printf("%d,%d\n", c, d); return 0;}

查看答案
更多问题

以下程序输出结果为____。#include void sort( int a[ ], int n){ int t,i,j; for(i=0;i

以下程序输出结果为____。int main(){char * ss[]={"one","two","three","four","five","six"}; int i = 3; printf("%s\n", ss[i - 1]); return 0;}

程序输出结果为____。#include void f(int *a) { int i=0; while(*(a+i)<=11) { printf(“%d ”,*(a+i)); i++; } } int main() { int x[]={1,5,10,9,11,7}; f(x); }

以下程序段输出结果是____#include union myun{ struct { int x; int y; int z; } u; int k;} a;int main(){ a.u.x=4; a.u.y=5; a.u.z=6; a.k=12; printf("%d %d\n",a.u.x,a.u.z);}

答案查题题库