Spider-Man Pointer Aliasing
typedef struct s{ struct s *finger; } SpiderMan; int main(void){ SpiderMan* A = new SpiderMan; SpiderMan* B = new SpiderMan; A->finger = B; B->finger = A; }
A code snippet defines a SpiderMan structure whose finger points to another SpiderMan, then creates two Spider-Men pointing at each other. The joke combines C++ pointer aliasing with the classic Spider-Man pointing scene, used as a reaction to circular references or two entities being indistinguishable. EN: A code snippet defines a SpiderMan structure whose finger points to another SpiderMan, then creates two Spider-Men pointing at each other. The joke combines C++ pointer aliasing with the classic Spider-Man pointing scene, used as a reaction to circular references or two entities being indistinguishable.
two Spider-Men / два Человека-паукаblue and red superhero suits / синие и красные костюмы супергероевpointing fingers / указывающие пальцыcartoon warehouse / мультяшный складwooden crates / деревянные ящикиtruck wheel / колесо грузовикаcode editor screenshot / скриншот редактора кодаC++ code / код C++struct declaration / объявление структурыpointer variable / переменная-указательcurly braces / фигурные скобкиNYPD sign / табличка NYPD
- @profunctor_io / 2984 2019-09-08
- Template
- Spider-Man pointing at Spider-Man
- Type
- image
- Size
- 726×800 · 85.7 KiB
- Mood
- ironic, absurd
- Language
- en
- Added