Why size of any pointer variable depends on Computer Architecture ? And If not then on what it depends ? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответ
+ 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