+ 6
The size of pointer depends on what ?
5 Antworten
+ 7
whether the os is 32bit or 64bit
+ 6
It depends on architecture of your computer..if it is 32 bit then pointer will be of 4 bytes ,and pointer will be of 8 bytes if machine is of 64 bit.
+ 2
The type of machine architecture.
+ 1
it invariably depends upon
the data type....
like int* is of 4 bytes
and char* is actually infinite 😂
+ 1
it invariably depends upon
the data type....
like int* is of 4 bytes
and char* is actually infinite 😂
Sorry, no! A pointer is always a memory adress. And the size of memory adresses is depending of hardware and OS.
You are talking about, what a pointer points to. This is, of course, different.