+ 1

what is difference between passing data implicitly & explicitly?

I am quite confuse here

28th Jul 2017, 8:40 AM
Manoj Mudgal
Manoj Mudgal - avatar
1 ответ
0
Implicitly is when you only need the data in the function maybe for an operation but you don't need it in the main program. Explicitly is when you use a value of the main program to do operations in a function. And you have 2 options here, passing a copy or a reference, if it is a reference the value of the variable of the main program change.
18th Jul 2020, 12:50 PM
Alejandro Medero
Alejandro Medero - avatar