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

Who is the founder of c language?

1108


What is equivalent to ++i+++j?

1040


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

1203


How old is c programming language?

965


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

6189


Can a pointer be volatile in c?

931


difference between native and cross compilers

2080


How can I generate floating-point random numbers?

1041


In C language, a variable name cannot contain?

1222


List some of the static data structures in C?

1156


An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

1118


What is a class c rental property?

1042


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2145


What is echo in c programming?

964


What is %d called in c?

1183