how does this statement work? if you have const char *a, is a pointer? if so, what address does it point to?
Printable View
how does this statement work? if you have const char *a, is a pointer? if so, what address does it point to?
const char * means whatever char array is pointed to is readonly
standard uses for const char * ---
Code:const char *a="some string value";
// Or in a function for arguments that are readonly
void foo(const char *a){
}