Ask Question
14 January, 12:10

When you pass an array as an argument to a function, the function can modify the contents of the array?

+2
Answers (1)
  1. 14 January, 13:28
    0
    In most languages. Primitive data types (char, int, float, bool, maybe string) are usually passed by value, but compound data types are passed by reference, so you're not working on a copy but on the original.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “When you pass an array as an argument to a function, the function can modify the contents of the array? ...” 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