Ref is keyword.
it must be used along with actual and formal arguments.
ref variables must be initialized before passing to a function
It is very similar to call by Reference.
Out is a Keyword.
Which must be used along with actual and formal arguments.
Out variables are not require to initialize, the initialized value will not be passed, only reference will be passed.
Asked In: Asked in HCl telephonic Interview |