hey sorry didnt notice virtual :) On Mon, Aug 22, 2011 at 9:38 PM, coder dumca <coder.du...@gmail.com> wrote:
> @sukran ur r wrong man > the construdor of virtual base class are called first otherwise it is from > left to right > so the correct order is > D A B C Z > On Mon, Aug 22, 2011 at 8:25 AM, Sanjay Rajpal <srn...@gmail.com> wrote: > >> agree with sukran. >> >> >> Sanju >> :) >> >> >> >> On Mon, Aug 22, 2011 at 8:20 AM, sukran dhawan <sukrandha...@gmail.com>wrote: >> >>> its left to right always ! >>> >>> >>> On Mon, Aug 22, 2011 at 8:49 PM, Sanjay Rajpal <srn...@gmail.com> wrote: >>> >>>> A >>>> B >>>> C >>>> D >>>> >>>> >>>> Sanju >>>> :) >>>> >>>> >>>> >>>> On Mon, Aug 22, 2011 at 8:17 AM, sivaviknesh s >>>> <sivavikne...@gmail.com>wrote: >>>> >>>>> you have 4 classes A,B,C,D and class Z is derived from all these >>>>> classes >>>>> using >>>>> Class Z: public A,private B,Protected C, Virtual D >>>>> What is the order of constructor call? >>>>> >>>>> ...plz reason out also >>>>> >>>>> -- >>>>> Regards, >>>>> $iva >>>>> >>>>> -- >>>>> 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. >>> >> >> -- >> 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.