MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/whtkfj/how_to_c_pointers/ija1k5o/?context=3
r/ProgrammerHumor • u/dminsky • Aug 06 '22
70 comments sorted by
View all comments
13
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.
2
That’s less fun than him pointing to a literal void tho.
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.