Why size of any pointer variable depends on Computer Architecture ? And If not then on what it depends ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why size of any pointer variable depends on Computer Architecture ? And If not then on what it depends ?

9th Aug 2017, 3:01 AM
Arvind Singh Rawat
Arvind Singh Rawat - avatar
1 Answer
+ 2
Because that's what the hardware is built for. The registers for example, on 64 bit they are each 64 bits long. Similarity, for 32 bit, they are 32 bits long.
9th Aug 2017, 6:29 AM
aklex
aklex - avatar