-
What are void pointers and why are they used?
指针
函数 是一个
Questioner:Lucas Jackson 2023-05-05 14:09:52
The most authoritative answer in 2024
-

-
Aria Adams——Studied at the University of Glasgow, Lives in Glasgow, Scotland.
void pointer in C. A
void pointer is a
pointer that has no associated data type with it. A
void pointer can hold address of any type and can be typcasted to any type. ... 2)
void pointers in C are
used to implement generic functions in C. For example compare function which is
used in qsort().
read more >>
About “指针、函数、是一个”,people ask:
QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.