It will work, but you're now writing to the read-only array! That's why I shoved a third array into my last post.Quote:
Originally Posted by mohit
Printable View
It will work, but you're now writing to the read-only array! That's why I shoved a third array into my last post.Quote:
Originally Posted by mohit
either pass the input by values, or copy it in another array and perform operations on it.