Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can we access RAM?
How? Whats the range of access?
Similarly What are other hardware we can access?



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

Post New Answer

More C Interview Questions

What is pointer to pointer in c language?

0 Answers  


What is the difference between ‘g’ and “g” in C?

1 Answers  


Not all reserved words are written in lowercase. TRUE or FALSE?

0 Answers  


create an SINGLE LINKED LISTS and reverse the data in the lists completely

3 Answers  


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

0 Answers  


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?

0 Answers  


When is a void pointer used?

0 Answers  


How can I determine whether a machines byte order is big-endian or little-endian?

0 Answers  


explain what is a newline escape sequence?

0 Answers  


What are loops in c?

0 Answers  


Categories