ok i got this point.
Plz answer this,

s is a pointer in foo and a is also a constant pointer in main. (a is passed
to foo)
However, in main a is treated as an rvalue and in s the same pointer is an
lvalue. why??

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to