Can we access RAM?
How? Whats the range of access?
Similarly What are other hardware we can access?
Answer Posted / shrirang phadke
Yes, we can access RAM using "far" pointer as follows...
int main()
{
char far *s;
s = 0x413;
/*-- desired code goes here --*/
return 0;
}
Now pointer(*s) is pointing to the base of Memory...
But, i guess far pointers works only in 16-bit enviornment.
Similarly, using far pointer we can access keyboard(0x417)
as well as Moniter(0xB8000000).
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Who is the founder of c language?
What is equivalent to ++i+++j?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
How old is c programming language?
#include
Can a pointer be volatile in c?
difference between native and cross compilers
How can I generate floating-point random numbers?
In C language, a variable name cannot contain?
List some of the static data structures in C?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What is a class c rental property?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What is echo in c programming?
What is %d called in c?