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

But C is worse than C++, because what if you have a pointer to a pointer?

olorin99
link
fedilink
167M

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

You don’t say.

@Omega_Haxors@lemmy.ml
link
fedilink
English
37M

Can you have two pointers pointing at each other?

olorin99
link
fedilink
47M
void* ptr2 = &ptr1;
ptr1 = &ptr2;```

Also it is colder at night than it is outside.

Create a 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.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.47K Posts
  • 32.3K Comments
  • Modlog