Ask Question
3 December, 05:43

If you pass the array ar to the method m () like this, m (ar); the element ar[0]:

A. will be changed by the method m ()

B. cannot be changed by the method m ()

C. may be changed by the method m (), but not necessarily

D. None of these

+3
Answers (1)
  1. 3 December, 09:10
    0
    Answer: (B)

    Explanation:

    Any changes on array made inside the function m () will only affect the ar[] present inside the function that means its scope is only within the function. The original array ar[] outside the fuction's scope won't change.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “If you pass the array ar to the method m () like this, m (ar); the element ar[0]: A. will be changed by the method m () B. cannot be ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers