I am getting 2. >.< Aseem
On Sun, Jul 31, 2011 at 1:41 AM, Neeraj Gupta <[email protected]>wrote: > Yes, it's UB. > For such ques, try to run it on ideone. > It will give a warning if any operation is not standard. > http://ideone.com/bJBGl > > <http://ideone.com/bJBGl> > > On Sun, Jul 31, 2011 at 1:38 AM, aditi garg <[email protected]>wrote: > >> it would be undefined... >> >> On Sun, Jul 31, 2011 at 1:34 AM, Kamakshii Aggarwal < >> [email protected]> wrote: >> >>> 3.it is same as b=b+1; >>> >>> >>> On Sun, Jul 31, 2011 at 1:32 AM, aseem garg <[email protected]> wrote: >>> >>>> int b=2;b=b++; >>>> b=??? >>>> >>>> Plz explain.. >>>> Aseem >>>> >>>> -- >>>> 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. >>>> >>> >>> >>> >>> -- >>> Regards, >>> Kamakshi >>> [email protected] >>> >>> -- >>> 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. >>> >> >> >> >> -- >> Aditi Garg >> Undergraduate Student >> Electronics & Communication Divison >> NETAJI SUBHAS INSTITUTE OF TECHNOLOGY >> Sector 3, Dwarka >> New Delhi >> >> >> -- >> 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.
