foo(char []s){
printf("%d", sizeof(s));
}
even now it prints 4.
My point is s 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??
Someone plz reply. It's urgent
--
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.