Question PSC-FUNC-0014
MediumWhat will be the output of the following pseudocode?
Function modify(Integer arr[])
arr[0] = 100
End Function
Integer a[] = {1, 2, 3}
modify(a)
Print a[0]
- A.
1
- B.
100
- C.
Sign up free to see the answer and a step-by-step explanation.