Ask Question
16 April, 23:09

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. 17 April, 02:15
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers