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

You are viewing a single thread.
View all comments View context
16 points

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

permalink
report
parent
reply
-1 points

You don’t say.

permalink
report
parent
reply
3 points

Can you have two pointers pointing at each other?

permalink
report
parent
reply
4 points
void* ptr2 = &ptr1;
ptr1 = &ptr2;```

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.4K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments