Re: Strange processing!!
"ranjane_s" <[email protected]> Tue, 11 Jul 2006 13:19:20 -0000
| Newsgroups | gmane.comp.programming.cppug |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], anuj gupta <anujfans@...> wrote: plz explain me thisexeution. for the same pgram void mai() { int a,b; a=5; b=++a +( ++a + ++a); printf("%d",b); } output i got is 24; explain me the exec... > > Thanks for bothering Rick. > First of all i would like to know the reason behind > 22. There is an apparent funda behind both 21 and 24, > but dont can't digest 22!! > Moreover, i run the program on Turbo C++, so that > might be the only factor responsible for the problem > Anyways, thanks again. > Take care- > Anuj. > > > > __________________________________________________________ > Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com > ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/EbFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/cppug/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/