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 diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

0 Answers  


What is mean by data types in c?

0 Answers  


which of 'arrays' or 'pointers' are faster?

5 Answers  


1 1 2 1 2 3 1 2 3 4 1 2 3 1 2 1 generate this output using for loop

2 Answers  


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

0 Answers   Amdocs, Apps Associates,


What character terminates all strings composed of character arrays? 1) 0 2) . 3) END

3 Answers  


What is a global variable in c?

0 Answers  


Hai why 'c' is the middle language

4 Answers  


What is clrscr ()?

0 Answers  


what is the difference between 123 and 0123 in c?

0 Answers  


What is the size of array float a(10)?

0 Answers  


How can you allocate arrays or structures bigger than 64K?

0 Answers  


Categories