[LIP] Re: linux-india-programmers digest, Vol 1 #1156 - 4 msgs
"Pramathesh Ambasta" <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
Thanks a lot for the clarifications. Pramathesh On Thu, 29 Jul 2004 Josy P. Pullockara <[email protected]> >You got the (const char*) and (char* const) mixed up. Look up Stroustrup >(const char* p) means the data pointed to by 'p' is const >(char* const p) means the pointer 'p' is const >(const char* const p) means the pointer 'p' and the data pointed >to by >'p' are both constants. > > Amar wrote: >K&R2 A.8.6.1 Pointer Declarators. >A relevant line reads: >``Qualifiers following * apply to pointer itself, rather than > to the object to which the pointer points." ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click