In formal arguments compiler comes to know about the type of its arguments. In the actual parameter compiler also knows what is the type of parameter passed. Actually the type conversion takes place when the function is called at the runtime during assignment of actual to formal argument. So when the function is called ,first of all the the expression representing actual parameter is evaluated and a copy of it made/copy constructor is called incase of object passing.
So i feel "both" is the answer cheers jagannath On Mon, Aug 22, 2011 at 10:28 PM, sukran dhawan <sukrandha...@gmail.com>wrote: > if u dont want messages pl unsubscribe from the group :) > > > On Mon, Aug 22, 2011 at 10:26 PM, raj Kumar > <rajkumar.mardub...@gmail.com>wrote: > >> please dont send me messages >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.