adspace
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
What is pointer to pointer in c with example?
What is pointers in c with example?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
hi send me sample aptitude papers of cts?
What is variable initialization and why is it important?
Explain the difference between null pointer and void pointer.
i have a written test for microland please give me test pattern
How do you determine the length of a string value that was stored in a variable?
what is ur strangth & weekness
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
How can I implement sets or arrays of bits?
What are compound statements?