Search:

Type: Posts; User: mc0134

Search: Search took 0.00 seconds.

  1. Thank you for the helpful reply laserlight. I...

    Thank you for the helpful reply laserlight.

    I made the changes, and yes indeed
    int countArray[10] = {0}; caused the problem. Program works the way I expected now.

    I suppose the program had...
  2. Code almost works, but not exactly, need a bit of help

    Just trying to write some code for personal practice, not homework or anything of that sort.


    Some weird happens: removing
    char *wordArray1[10] = {0}; line in the full code below causes the...
  3. Replies
    1
    Views
    3,057

    why need to cast void* ?

    Currently studying through how pointers work.


    I understand void pointer is pointer with no associated data type, which allows it to hold address of any type and can be typecasted to any type.
    ...
Results 1 to 3 of 3