#include <stdio.h>

int main(void)
{
    int a[4] = {22,11,99,77};
    int b[4];
    int i;
    for (i = 0; i < 4; i ++)
        b[i] = a[i];
    puts(" a  b");
    for (i = 0; i < 4; i ++)
        printf("%3d%3d\n", a[i], b[i]);
    return 0;
}

c语言中数组的复制_3d