注意:此页面搜索的是所有试题
有以下程序:#include <stdio.h>#define N 8void fun( int *x, int i ){*x = *(x + i);}main(){int a[N] = { 1, 2, 3, 4, 5, 6, 7, 8 }, i;fun( a, 2 );for ( i = 0; i < N / 2; i++ ){printf( "%d", a[i] );}printf( "\n" );}程序运行后的输出结果是( )。
·l 3 1 3
·2 2 3 4
·3 2 3 4
·l 2 3 4

参考答案