+ 1
what is difference between passing data implicitly & explicitly?
I am quite confuse here
1 Answer
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.