How long is the memory address of a single byte of 8 bytes allocated to pointer variable in a 64bit OS?
I feel like I just answered this over on CS50 Slack. hmmm.....
An address pointer in a 64 bit OS is 64 bits long. It doesn't matter what it is pointing at. The data type that it points at has absolutely no bearing on the pointer itself. The pointer contains the address of the first byte of whatever it points at.
The type of pointer only comes into play when the system needs to know the overall size of the object being pointed at.
If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)