What is a pointer to void 2024?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at the University of Melbourne, Lives in Melbourne, Australia.
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! A void pointer is declared like a normal pointer, using the void keyword as the pointer's type: 1. void *ptr; // ptr is a void pointer.
2023-05-15 10:26:10
评论(499)
Helpful(122)
Helpful
Helpful(2)

Oliver Davis
QuesHub.com delivers expert answers and knowledge to you.
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! A void pointer is declared like a normal pointer, using the void keyword as the pointer's type: 1. void *ptr; // ptr is a void pointer.