Ask Question
5 January, 23:09

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

+5
Answers (1)
  1. 5 January, 23:57
    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?
Get 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 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