Is it possible to have a function that returns an array of variable size? My plan is to have the size of the returned array as the first member of the array (so ret_val[0] = # of members in ret_val).
The problem then becomes with initializing an array to the return value of that function. int moves[] = target_function()
wouldn't possibly compile.