This topic is now archived and is closed to further replies.


What is const char* and char* difference ?

Recommended Posts

Eskhan    122
If you make for example a const char * foo it means that the
program can't change the data that foo points too through the
foo pointer. If you have a const char and want to point to it
you must point to it with a const char*

[edited by - Eskhan on April 26, 2003 4:31:50 PM]

Share this post

Link to post
Share on other sites