LoginLogin

Function calls with arrays

Root / FAQs / [.]

NateDogg1232Created:
Are arrays passed through functions passed through reference, or are they copied to a new array?

Strings and arrays pass by reference. Ints and doubles pass by value. Strings and arrays are reference types, ints and doubles are not.