minus-squareolorin99@kbin.earthtoProgrammer Humor@lemmy.ml•Ok, at some point we made a big mistake.linkfedilinkarrow-up4·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-up16·9 months agoYou can have a pointer to a pointer in c++ too tho? linkfedilink
void* ptr2 = &ptr1; ptr1 = &ptr2;```