I got it. Thanks for your explanation.
Type: Posts; User: ernielam1024
I got it. Thanks for your explanation.
If I tried list this, the program will be hanged during the run time.
Am I writing a correct code?
char *array = "abcdefgh";
void function1 (char array[]){
char *temp =...
Sorry. I mean if I really need to declare the array as a pointer and I need to use the function to convert the element of the array. Any other way that I can do? Like below...
char *array =...
I understood it work if the array is declared as like this. However, does there have any way so that I can also modify the pointer array like my code?
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.
char *array...