Ask Question

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

+1
Answers (1)
  1. 24 November, 08:48
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers