i agree this type of expressions are not defined and are depend on the
machine......
it's something like a[i]=i++;
the result may vary from machine to machine !

On Sat, Jun 4, 2011 at 5:00 PM, Rohit Sindhu <rohit.sindhu.spec...@gmail.com
> wrote:

>
> 1. If the operand values is to be stored in temporaries the first
> evaluation will make one operand to be 4 and next evaluation make
>     the other one to be 5. So in this case the result is  4*5 = 20.
>
> 2. But if variable b is to be used as operands the result will be 5*5 = 25
>
>
> As a good practice using sub

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