lawrence@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoOk, at some point we made a big mistake.lemmy.worldimagemessage-square39fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageOk, at some point we made a big mistake.lemmy.worldlawrence@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square39fedilink
minus-squareolorin99@kbin.earthlinkfedilinkarrow-up0·1 year agoYou can have a pointer to a pointer in c++ too tho?
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up0·1 year agoCan you have two pointers pointing at each other?
You can have a pointer to a pointer in c++ too tho?
You don’t say.
Can you have two pointers pointing at each other?
void* ptr2 = &ptr1; ptr1 = &ptr2;```