i want to know, what kind of addresses do pointers deal with? i mn logical or physical? and how can i access a particular memory area using pointers?
PLEASE HELP.......
arshi9464 -2 Light Poster
Recommended Answers
Jump to Posti want to know, what kind of addresses do pointers deal with?
That's not specified.
and how can i access a particular memory area using pointers?
It's not portable, but traditionally that's been done by something like this:
/* Point to address 0x12345678 and treat it as …
Jump to PostIt's a function of your OS and compiler.
If you're using a protected OS and your compiler is compatible with your OS (say Linux+gcc or Windows+visual studio), then you're dealing with logical addresses. You can invent whatever address you like, but if you choose badly, the OS will just …
All 7 Replies
abhimanipal 91 Master Poster
arshi9464 -2 Light Poster
Narue 5,707 Bad Cop Team Colleague
m4ster_r0shi 142 Posting Whiz in Training
Salem 5,265 Posting Sage
wtstalin88 -15 Newbie Poster
Narue commented: Completely nonsensical. -4
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.