Can we access RAM?
How? Whats the range of access?
Similarly What are other hardware we can access?
Answer / 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 |
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
What is mean by data types in c?
which of 'arrays' or 'pointers' are faster?
1 1 2 1 2 3 1 2 3 4 1 2 3 1 2 1 generate this output using for loop
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
0 Answers Amdocs, Apps Associates,
What character terminates all strings composed of character arrays? 1) 0 2) . 3) END
What is a global variable in c?
Hai why 'c' is the middle language
What is clrscr ()?
what is the difference between 123 and 0123 in c?
What is the size of array float a(10)?
How can you allocate arrays or structures bigger than 64K?