下面是我的程序,运行结果有问题,麻烦懂得大佬支支招。#include "stdio.h"#include<stdlib.h> #include "stdarg.h"int yy[100][3] = {0};void Fun(int *color,...){ int i = 0,j; int *s; va_list ap; va_start(ap, color); for(i = 0; i < 3; i ++) { s = va_arg(ap, int*); for(j = 0; j < 3; j ++) { printf("%d ", s[j]); } yy[i][0] = s[0]; yy[i][1] = s[1]; yy[i][2] = s[2]; printf("i = %d ", i); printf("\n"); } printf("\n"); va_end(ap);}int main( ){ int i, j; int a[3] = {1,2,3}, b[3] = {4,5,6}, c[3] = {7,8,9}; Fun(a, b, c); for(i = 0; i < 3; i ++) { for(j = 0; j < 3; j ++) { printf("%d ", yy[i][j]); } printf("\n"); } return 0;}