What is Call By Out parameter?

 Posted by Tripati_tutu on 3/26/2011 | Category: C# Interview questions | Views: 5633 | Points: 40
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 

Comments or Responses

Login to post response