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 a stack
if array a conatins 'n' elements and array b conatins 'n-1' elements.array b has all element which are present in array a but one element is missing in array b. find that element.
18 Answers Parexel, Ram Infotech, Zycus Infotech,
write a c program to print a given number as odd or even without using loop statements,(no if ,while etc)
What is the most efficient way to count the number of bits which are set in a value?
What are the different pointer models in c?
What are the different types of control structures in programming?
What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack
What is the time and space complexities of merge sort and when is it preferred over quick sort?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
What is the role of && operator in a program code?
What will be your course of action for a push operation?
What is #include cctype?