305
submitted 9 months ago* (last edited 9 months ago) by lawrence@lemmy.world to c/programmerhumor@lemmy.ml

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
[-] Omega_Haxors@lemmy.ml 3 points 9 months ago

Can you have two pointers pointing at each other?

[-] olorin99@kbin.earth 4 points 9 months ago
void* ptr2 = &ptr1;
ptr1 = &ptr2;```

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

Programmer Humor

32586 readers
1093 users here now

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

Rules:

founded 5 years ago
MODERATORS