void change(char* n){ char* m = (char*)malloc(strlen(n)*sizeof(char*)); m = n; *(n)++; n = m;} int main(){ char* n = "Hola"; int k = 0; change(n); }