Actually
A(int *m=0*) > { > a=m; > } > not > A*(int m*) { > a = m; > } > means m has a default value of 0 ie this value will be used if no parameter is given . So when you pass it a parameter default value is simply ignored. On Wed, May 25, 2011 at 12:15 PM, Balaji S <balaji.ceg...@gmail.com> wrote: > ya.. thanks :) it works. but.. we are initializing m to 0 in everycall > ryt.. ? then how does 1,2,3,....is initialized?? > > -- > 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. > -- Thanks and Regards , Gaurav Saxena -- 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.