Search:

Type: Posts; User: ernielam1024

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    2,166

    I got it. Thanks for your explanation.

    I got it. Thanks for your explanation.
  2. Replies
    10
    Views
    2,166

    If I tried list this, the program will be hanged...

    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 =...
  3. Replies
    10
    Views
    2,166

    Sorry. I mean if I really need to declare the...

    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 =...
  4. Replies
    10
    Views
    2,166

    I understood it work if the array is declared as...

    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?
  5. Replies
    10
    Views
    2,166

    Pointer array problem

    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...
Results 1 to 5 of 5