verified it extensively for test cases including your example array,
found it to output 89...
Waiting humbly for your opinion :-)
Thanks
Madhav
Thanks and Regards,
Madhav Mohan
Software Engineer
Mphasis LTD,Bangalore
On Tue, Mar 24, 2015 at 7:17 PM, atul anand atul.87fri...@gmail.com wrote
prefix operator is better.the compiler does not have to maintain the
copy of the variable as in the postfix operator ..
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to