18 lines
154 B
MonkeyC
18 lines
154 B
MonkeyC
void foo(int[10] array)
|
|
{
|
|
array[5] = 42;
|
|
}
|
|
|
|
int main()
|
|
{
|
|
int[10] array;
|
|
array[5] = 23;
|
|
|
|
foo(array);
|
|
|
|
print_int(array[5]);
|
|
print_nl();
|
|
|
|
return 0;
|
|
}
|