minus-squareolorin99@kbin.earthtoProgrammer Humor@lemmy.ml•Ok, at some point we made a big mistake.linkfedilinkarrow-up1·9 months agovoid* ptr2 = &ptr1; ptr1 = &ptr2;``` linkfedilink
minus-squareolorin99@kbin.earthtoProgrammer Humor@lemmy.ml•Ok, at some point we made a big mistake.linkfedilinkarrow-up0·9 months agoYou can have a pointer to a pointer in c++ too tho? linkfedilink
void* ptr2 = &ptr1; ptr1 = &ptr2;```