void f(char* p) {
char s[] = "ABCD"; //1
const char* pc = s; //2
pc[3] = 'd'; //3
pc = p; //4
char* const cp = s; //5
cp[3] = 'f'; //6
cp = p; //7
const char* const cpc = s; //8
cpc[3] = 'a'; //9
cpc = p; //10
}
Login in to like
Login in to comment