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 pointer to pointer in c language?
What is the difference between ‘g’ and “g” in C?
Not all reserved words are written in lowercase. TRUE or FALSE?
create an SINGLE LINKED LISTS and reverse the data in the lists completely
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
what is the function of .h in #include<stdio.h> in c ?
23 Answers HCL, IBM, Wipro,
Difference between data structure and data base.
7 Answers CTS, Value Labs, Zoho,
Why should I prototype a function?
When is a void pointer used?
How can I determine whether a machines byte order is big-endian or little-endian?
explain what is a newline escape sequence?
What are loops in c?