Commit 8eaf560d authored by Alexander Hirsch's avatar Alexander Hirsch
Browse files

Add pass_array example

parent de49abc4
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;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment