What are void pointers and why are they used?

Lily Brooks | 2023-05-05 14:09:52 | page views:1049
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Oliver Hall

Works at the United Nations Office on Drugs and Crime, Lives in Vienna, Austria.
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().
2023-05-14 14:09:52

Charlotte Young

QuesHub.com delivers expert answers and knowledge to you.
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().
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4