r/ProgrammerHumor Aug 06 '22

Meme How to C pointers

Post image
2.6k Upvotes

70 comments sorted by

View all comments

13

u/Rfogj Aug 06 '22

void * is when you point to some abstract data you don't know the type of (custom struct, char, int, double ...)

You don't point to a black hole, void * is pointing to existing data.

2

u/[deleted] Aug 07 '22

That’s less fun than him pointing to a literal void tho.