6.13 Void pointers

原完整教程链接:6.13 Void pointers

The void pointer, also known as the generic pointer, is a special type of pointer that can be pointed at objects of any data type!

In general, it is a good idea to avoid using void pointers unless absolutely necessary, as they effectively allow you to avoid type checking.

你可能感兴趣的:(6.13 Void pointers)