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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you determine a file’s attributes?

1090


the question is that what you have been doing all these periods (one year gap)

2092


Differentiate between Macro and ordinary definition.

1394


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

5463


What is || operator and how does it function in a program?

1100


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1379


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

1246


Without Computer networks, Computers will be half the use. Comment.

2310


Why is it that not all header files are declared in every C program?

1229


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

1258


What are the different types of data structures in c?

1166


Explain what is the difference between #include and #include 'file' ?

1034


Write a program to check palindrome number in c programming?

1024


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1160


Once I have used freopen, how can I get the original stdout (or stdin) back?

1080