#include <stdio.h>
void data_copy ( const int x[ ], int y[ ], int len );
int main(void) {
int a[] = {1,2,3,4,5};
int b[5];
int i, n;
n = sizeof(a)/sizeof(a[0]);
data_copy( a, b, n );
for( i=0; i<n; i++ )
return 0;
}
void data_copy ( const int x[ ], int y[ ], int len ){
int i;
for(i=0;i<len;i++)
y[i]=x[i];
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIGRhdGFfY29weSAoIGNvbnN0IGludCB4WyBdLCBpbnQgeVsgXSwgaW50IGxlbiApOwoKaW50IG1haW4odm9pZCkgewoJaW50IGFbXSA9IHsxLDIsMyw0LDV9OwoJaW50IGJbNV07CglpbnQgaSwgbjsKCgluID0gc2l6ZW9mKGEpL3NpemVvZihhWzBdKTsKCWRhdGFfY29weSggYSwgYiwgbiApOwoJCglmb3IoIGk9MDsgaTxuOyBpKysgKQoJCXByaW50ZigiJTNkIiwgYltpXSk7CglwcmludGYoICJcbiIgKTsKCQoJcmV0dXJuIDA7Cn0KCnZvaWQgZGF0YV9jb3B5ICggY29uc3QgaW50IHhbIF0sIGludCB5WyBdLCBpbnQgbGVuICl7CglpbnQgaTsKCglmb3IoaT0wO2k8bGVuO2krKykKCQl5W2ldPXhbaV07CgoKfQ==