Answer:
Call By Out = Call By Ref-Initialization
If the actual parameters initial value are not known while invoking a method then call by out must be used. When using call by out, actual and formal parameter must be decided proceeded without keyword.
When you are using call by out, actual parameters cannot be assigned with any value. Even then it is assigned, it will not be taken by formal parameter.
Asked In: Many Interviews |
Alert Moderator