A pointer is associated with a type (of the value it points to), which is specified during the declaration. A pointer can only hold an address of the declared type; it cannot hold an address of a different type.
However, a void pointer can hold the address of any data type (except function pointer).
Source: Pointer has a Type Too
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать