cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Clarification about memory addresses
Clarification about memory addresses
Jun 21, 2013 at 4:53pm UTC
The illusionist mirage
(235)
Hello
What's the meaning of a memory address(I am not asking about definition, I know that it is a location in the memory)?
For example: 0x22ff04
What does 0, x, 2, 2, f, f, 0, 4 sgnify here?
Thank you
Jun 21, 2013 at 5:04pm UTC
Chervil
(7320)
The "0x" prefix indicates that the following literal is to be interpreted as a hexadecimal value.
http://www.cplusplus.com/doc/tutorial/constants/
Jun 21, 2013 at 5:06pm UTC
The illusionist mirage
(235)
@Chervil
So, 22ff04 is the actual hexadecimal number, preceded by 0x?
Jun 21, 2013 at 6:09pm UTC
Chervil
(7320)
Exactly.
Topic archived. No new replies allowed.