MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/C_Programming/comments/1cbwp3v/the_way_c_programers_explain_pointers/l11rlmg/?context=3
r/C_Programming • u/gogsboonerisms • Apr 24 '24
50 comments sorted by
View all comments
22
You can tell the joke is old because these are 32-bit ones!
22 u/goose_on_fire Apr 24 '24 I mean, they are also 64-bit ones 11 u/rodrigocfd Apr 24 '24 /r/technicallythetruth 4 u/[deleted] Apr 24 '24 I don't get it? The largest is 0x7363682E -- which is still a positive decimal (base 10) value in a signed 32-bit integer.MSB is zero:01110011 01100011 01101000 00101110 bI guess we mean it could also be a 64-bit pointer, if we expressed as 0x000000007363682EDo I get it now? 4 u/goose_on_fire Apr 24 '24 Yeah, the 64-bit address space includes the 32-bit address space, don't overthink it :)
I mean, they are also 64-bit ones
11 u/rodrigocfd Apr 24 '24 /r/technicallythetruth 4 u/[deleted] Apr 24 '24 I don't get it? The largest is 0x7363682E -- which is still a positive decimal (base 10) value in a signed 32-bit integer.MSB is zero:01110011 01100011 01101000 00101110 bI guess we mean it could also be a 64-bit pointer, if we expressed as 0x000000007363682EDo I get it now? 4 u/goose_on_fire Apr 24 '24 Yeah, the 64-bit address space includes the 32-bit address space, don't overthink it :)
11
/r/technicallythetruth
4
I don't get it? The largest is 0x7363682E -- which is still a positive decimal (base 10) value in a signed 32-bit integer.
MSB is zero:
01110011 01100011 01101000 00101110 b
I guess we mean it could also be a 64-bit pointer, if we expressed as 0x000000007363682E
Do I get it now?
4 u/goose_on_fire Apr 24 '24 Yeah, the 64-bit address space includes the 32-bit address space, don't overthink it :)
Yeah, the 64-bit address space includes the 32-bit address space, don't overthink it :)
22
u/gremolata Apr 24 '24
You can tell the joke is old because these are 32-bit ones!