@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 <[email protected]> wrote:
> agree with sukran. > > > Sanju > :) > > > > On Mon, Aug 22, 2011 at 8:20 AM, sukran dhawan <[email protected]>wrote: > >> its left to right always ! >> >> >> On Mon, Aug 22, 2011 at 8:49 PM, Sanjay Rajpal <[email protected]> wrote: >> >>> A >>> B >>> C >>> D >>> >>> >>> Sanju >>> :) >>> >>> >>> >>> On Mon, Aug 22, 2011 at 8:17 AM, sivaviknesh s >>> <[email protected]>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 [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. >>>> >>> >>> -- >>> 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. >>> >> >> -- >> 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. >> > > -- > 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. > -- 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.
