+ 1
What's the size of a pointer?
4 Antworten
+ 4
On a 32 bit architecture pointer size is 4 bytes, and on 64 bit architecture it is 8 bytes, the difference is because 64 bit architecture supports much larger memory, and pointing to an offset for large memory a large number is needed.
Hth, cmiiw
https://code.sololearn.com/cwmYgy5caArV/?ref=app
+ 1
Hardware architecture.
so use sizeof() 4 your programs
0
It depends: 4 or 8 byte
0
depends on what ?