#include <stdio.h>
#include <string.h>
int main( void )
{
int i = 0;
int a[5] = { 1, 2, 3, 4, 5 };
int b[5] = { 6, 7, 8, 9, 10 };
int c[10];
memcpy( c
+ (sizeof(a
)/sizeof(int)), b
, sizeof(b
) );
for( i = 0; i < 10; i++ )
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KCmludCBtYWluKCB2b2lkICkKewoJaW50IGkgPSAwOwoKCWludCBhWzVdID0geyAxLCAyLCAzLCA0LCA1IH07CglpbnQgYls1XSA9IHsgNiwgNywgOCwgOSwgMTAgfTsKCWludCBjWzEwXTsKCgltZW1jcHkoIGMsIGEsIHNpemVvZihhKSApOwoJbWVtY3B5KCBjICsgKHNpemVvZihhKS9zaXplb2YoaW50KSksIGIsIHNpemVvZihiKSApOwoKCWZvciggaSA9IDA7IGkgPCAxMDsgaSsrICkKCQlwcmludGYoIiVkICIsIGNbaV0gKTsKCglwcmludGYoIlxuIik7CgoJcmV0dXJuIDA7Cn0K