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

‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

0 Answers  


find out largest elemant of diagonalmatrix

0 Answers  


What is putchar() function?

0 Answers  


a c code by using memory allocation for add ,multiply of sprase matrixes

0 Answers  


what is the structure?

4 Answers   TCS,


What is union and structure?

0 Answers  


What is a const pointer in c?

0 Answers  


define function

4 Answers   Assurgent, Sonata,


What are the 4 types of organizational structures?

0 Answers  


what is the difference between structural,object based,object orientd programming languages?

1 Answers   PanTerra,


how to implement stack work as a queue?

2 Answers  


how to find anagram without using string functions using only loops in c programming

1 Answers   Mind Tree, TCS,


Categories