--- "J.J" wrote:
> I'm declare three variable in my function.
> One is ok, but two variable is reference same memory address.
> ...

First, what compiler are you using?

Second, how do you know that two variables are using the same address? 

Third, any C compiler is free to use the same memory address for more
than one variable if doing so won't invalidate the calculations your
program makes.

Fourth, how do you determine the values of variables as you step
through code?  If, for example, you are using the CodeWarrior debugger
and you have not turned off all optimizations, then you may not see the
correct values of variables as you step through the code.


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to