#include<stdio.h>
struct Data{
int a[5];
};
void array( struct Data data );
int main(void)
{
struct Data data = { 0, 1, 2, 3, 4 };
array( data );
for(int i=0; i<5; i++){
}
return 0;
}
void array( struct Data data )
{
data.a[1] = 5;
}
I2luY2x1ZGU8c3RkaW8uaD4gCgpzdHJ1Y3QgRGF0YXsgCmludCBhWzVdOyAKfTsgCnZvaWQgYXJyYXkoIHN0cnVjdCBEYXRhIGRhdGEgKTsgCmludCBtYWluKHZvaWQpIAp7IApzdHJ1Y3QgRGF0YSBkYXRhID0geyAwLCAxLCAyLCAzLCA0IH07IAphcnJheSggZGF0YSApOyAKZm9yKGludCBpPTA7IGk8NTsgaSsrKXsgCnByaW50ZigiJWQgIiwgZGF0YS5hW2ldKTsgCn0gCnJldHVybiAwOyAKfSAKdm9pZCBhcnJheSggc3RydWN0IERhdGEgZGF0YSApIAp7IApkYXRhLmFbMV0gPSA1OyAKfSAK