0

Why it is said here that when passing an object to function it must be passes by reference ?

Before this in composition we passed object directly then why not at here ?

24th Jul 2017, 4:57 PM
Amit Sharma
Amit Sharma - avatar
1 Resposta
+ 2
It isn't necessary, you can pass it either by value or by reference
24th Jul 2017, 9:52 PM
Eligijus Silkartas
Eligijus Silkartas - avatar