Q:

Which of the following are correct syntaxes to send an array as a parameter to function:

0

Which of the following are correct syntaxes to send an array as a parameter to function:


  1. func($array);
  2. func(*array);
  3. func(array);
  4. func(&array);

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

func(array);

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now
Assume the output of the following code:... >>
<< what will be the output of the following program:...