char *p="orkut" vs const char *p="orkut"
What is the difference between the two ...
EDIT
by bjarne stroustrup 3rd edition p. 90
void f() { char* p="plato"; p[4]='e'
this type of error cannot be a common b, caught until the execution and implementation times differ from the application of this rule.
Same with const char * p = "plato"
That is why I am asking about the difference ... What does const matter here.
source share