I know about a newkeyword that returns a pointer, so the return type void*. My stupid question is why newshould return void*instead void&? When an object created with newcan return the address of that object using the address of the operator &.
I know the difference between a pointer and a link. But in the end, we are working with a pointer instead of a link. Please clear me of the confusion.
user5028722
source
share