Jason Luu
2004-07-01 20:24:34 UTC
When declaring a procedure parameter to accept arrays, does the array size
need to be specified? For example:
int total (int A[])
begin
# code
end;
int total (int A[10])
begin
# code
end;
Which of the above are acceptable? Or are both acceptable?
need to be specified? For example:
int total (int A[])
begin
# code
end;
int total (int A[10])
begin
# code
end;
Which of the above are acceptable? Or are both acceptable?