4 ms·
Not all pointers. Function pointers, though often used that way, should not be cast to void. ISO C forbids it. (Implementations may allow it.)
by shakna 2y ago
Not all pointers. Function pointers, though often used that way, should not be cast to void. ISO C forbids it. (Implementations may allow it.)
- gpderetta 2y agoISO C forbids it, but, FWIW, POSIX requires it. So pick your standard I guess.