in C Plus Plus by (6.5k points)
In C, why is the void pointer useful in C Language? When would you use it in C Language?

1 Answer

0 votes
by (32.2k points)
The void pointer is useful because it is a generic pointer that any pointer can be cast into

and back again without loss of information.

Related questions

0 votes
asked Mar 17, 2020 in C Plus Plus by rajeshsharma (23.9k points)
0 votes
asked Mar 12, 2020 in C Plus Plus by rahuljain1 (6.5k points)
0 votes
+1 vote
asked Oct 19, 2022 in C Plus Plus by AdilsonLima (6.3k points)
...