How do you assign a pointer address manually (e.g. to memory address 0x28ff44) in the C programming language?
How do you assign a pointer address manually (e.g. to memory address 0x28ff44 )
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Like this:
Or if you want it as a
char *:…etc.
If you’re pointing to something you really, really aren’t meant to change, add a
const:…since I figure this must be some kind of “well-known address” and those are typically (though by no means always) read-only.