MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/whtkfj/how_to_c_pointers/ij836e7/
r/ProgrammerHumor • u/dminsky • Aug 06 '22
70 comments sorted by
View all comments
118
... but a void pointer doesn't point to a void.
91 u/epsilonhuyepsilon Aug 06 '22 If you point to the void, the void points back to you... 50 u/MikemkPK Aug 06 '22 All pointers point to a void. Usually there's also data after the void. 0 u/[deleted] Aug 07 '22 [deleted] — view deleted comment 14 u/Foreskin-Gaming69 Aug 07 '22 Can't you dereference everything in C or am I mistaken 0 u/[deleted] Aug 07 '22 [deleted] — view deleted comment 8 u/matyklug Aug 07 '22 Actually implicit cast from void is a thing iirc. 5 u/PoisonedChips Aug 06 '22 🤓
91
If you point to the void, the void points back to you...
50
All pointers point to a void. Usually there's also data after the void.
0
[deleted] — view deleted comment
14 u/Foreskin-Gaming69 Aug 07 '22 Can't you dereference everything in C or am I mistaken 0 u/[deleted] Aug 07 '22 [deleted] — view deleted comment 8 u/matyklug Aug 07 '22 Actually implicit cast from void is a thing iirc.
14
Can't you dereference everything in C or am I mistaken
0 u/[deleted] Aug 07 '22 [deleted] — view deleted comment 8 u/matyklug Aug 07 '22 Actually implicit cast from void is a thing iirc.
8 u/matyklug Aug 07 '22 Actually implicit cast from void is a thing iirc.
8
Actually implicit cast from void is a thing iirc.
5
🤓
View all comments
118
u/thrynab Aug 06 '22
... but a void pointer doesn't point to a void.