Hi
Can someone teach me how to change the element in the pointer array?
If I want to convert the element "a" to "9". How can I do it?
I tried to do it as below but failed.
Code:char *array = "abcdefgh";
void function1 (char array[]){
array[0] = "9"; // of course this one doesn't work.
}
Ernie