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 am not a 100% sure on this but I believe pointers work with logical memory.
When a C program is compiled, the compiler works in such a manner that the program can be placed any where in the physical memory.I dont think that you can access a …
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,138
Posting Sage
wtstalin88
-15
Newbie Poster
Narue
commented:
Completely nonsensical.
-4
TrustyTony
888
pyMod
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.