Sjmarf to Programmer [email protected] • 1 month agovoid *sh.itjust.worksmessage-square13fedilinkarrow-up1637
arrow-up1637imagevoid *sh.itjust.worksSjmarf to Programmer [email protected] • 1 month agomessage-square13fedilink
minus-square@[email protected]linkfedilink38•1 month agoFair, though I guess my interpretation was that void* is kind of like a black hole in that anything can fall into it in an unsettling way that loses information about what it was?
minus-squareTraister101linkfedilink10•1 month agoIt erases the type of what your pointing at. All you have is a memory location, in contrast to int* which is a memory location of an int
Fair, though I guess my interpretation was that
void*
is kind of like a black hole in that anything can fall into it in an unsettling way that loses information about what it was?It erases the type of what your pointing at. All you have is a memory location, in contrast to
int*
which is a memory location of an int