it will work without having --i in destructor???y is it here?> On Fri, Oct 7, 2011 at 11:44 AM, tanuj chawla <houndhun...@gmail.com> wrote:
> #include<iostream> > int i; > class A > { > public: > A(){cout<<i++<<endl;} > ~A(){cout<<--i<<endl;} > } > int main() > { > A a[100]; > return 0; > } > > > > On Thu, Oct 6, 2011 at 10:42 PM, shiva@Algo <shiv.jays...@gmail.com>wrote: > >> cant find in archives plz someone >> >> >> On Sun, Oct 2, 2011 at 6:03 PM, Sahil Garg <garg.sahi...@gmail.com>wrote: >> >>> plz post the soln.. i cant find it.. >>> >>> Sahil Garg >>> Computer Engineering >>> Delhi College of Engineering >>> >>> >>> >>> On Tue, Sep 27, 2011 at 3:41 PM, shady <sinv...@gmail.com> wrote: >>> >>>> discussed, kindly look at archives >>>> >>>> >>>> On Tue, Sep 27, 2011 at 3:13 PM, surender sanke <surend...@gmail.com>wrote: >>>> >>>>> print all numbers in a given range *without* using any loop >>>>> statements, jump statements and recursion >>>>> >>>>> surender >>>>> >>>>> -- >>>>> 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.