Shashank,
In C++ we implement it thru reference variables

in the function call we can say func(x);
in the definition we have, func(int &a)

whatever changes we make to a in func() are reflected back in x in the
calling function


In C, we can simulate i t through pointers
call : func(&x);
definition: func(int *a)


I think this is what Sandeep meant

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to