Category "void-pointers"

In plain C, could we implement generic functions using pointers to char instead of pointers to void?

In plain C, pointers to void are useful as arguments to generic functions, such as a generic quicksort, or a generic swap, etc., as seen here: Implementation of

find elements of an array in another array, why do I have this error?

I was trying to visualize the algorithm of this exercise, but I'm having a lot of problems. the exercise asks to implement this function: extern const void *mem

Is it possible to set bits of a void* value without type casting it to an int or char?

I am working on a project that requires me to allocate some space using the mmap function and I need to create a bitmap in the beginning of the allocated space.