lawrence@lemmy.world to Programmer Humor@lemmy.ml · edit-211 months agoOk, at some point we made a big mistake.lemmy.worldimagemessage-square39fedilinkarrow-up1306arrow-down15file-text
arrow-up1301arrow-down1imageOk, at some point we made a big mistake.lemmy.worldlawrence@lemmy.world to Programmer Humor@lemmy.ml · edit-211 months agomessage-square39fedilinkfile-text
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up3·11 months agoCan you have two pointers pointing at each other?
minus-squareolorin99@kbin.earthlinkfedilinkarrow-up4·11 months agovoid* ptr2 = &ptr1; ptr1 = &ptr2;```
Can you have two pointers pointing at each other?
void* ptr2 = &ptr1; ptr1 = &ptr2;```