this post was submitted on 11 Feb 2024
305 points (98.4% liked)

Programmer Humor

31791 readers
28 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Hacker News post about this: https://news.ycombinator.com/item?id=39309783 (source available)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 6 months ago (2 children)

You can have a pointer to a pointer in c++ too tho?

[–] [email protected] 3 points 6 months ago (1 children)

Can you have two pointers pointing at each other?

[–] [email protected] 4 points 6 months ago
void* ptr2 = &ptr1;
ptr1 = &ptr2;```

[–] [email protected] -1 points 6 months ago

You don't say.