May be because when u look at the code.. rect(8) only returns  and 8 is
stored into register but when it returns to rect(4) .it simply ends and
goes to rect(2) which in turn goes to rect(1).

So returned value is taken from that register that is filled with value
returned from it i.e 8.
May be that returning  recursive manner and filling that register is
dependent on compiler to compiler.

-- 

*ATul Singh** *
Mobile : +91-9410826039
[image: Facebook] <http://www.facebook.com/atulsingh7890> [image:
Twitter]<http://www.twitter.com/atulsng>
 [image: LinkedIn] <http://www.linkedin.com/in/atulsingh7890>

-- 
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.

Reply via email to