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 |
Write a c pgm for leap year
11 Answers College School Exams Tests, IBM, TCS,
what is the mean of c languages.
What is equivalent to ++i+++j?
How does free() know explain how much memory to release?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
YBJBU6
Explain b+ tree?
How many bytes are occupied by near, far and huge pointers (dos)?
What are the data types present in c?
What is the difference between text files and binary files?
Difference between linking and loading?
what is computer