When an array parameter is passed to a function
a. the elements of the actual array parameter are copied into the elements of the formal array parameter.
b. the elements of the formal array parameter are copied into the elements of the actual array parameter.
c. the formal parameter is a pointer that holds the address of the actual array parameter.
d. the programmer must write code which allocates enough space for the function to store the array.
I got this wrong on a Comp Sci exam and I'm just wondering what the answer is
2007-05-17
02:03:20
·
5 answers
·
asked by
sammy
2
in
Computers & Internet
➔ Programming & Design
this for C programming
2007-05-17
06:09:28 ·
update #1