Today when I was reading others’ code, I saw something like void *func(void* i);
, what does this void*
mean here for the function name and for the variable type, respectively?
In addition, when do we need to use this kind of pointer and how to use it?