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...

how to write a data 10 in address location 0x2000

Answer Posted / vishnu

int main()
{
int *ptr;
ptr = (int *)0x2000;
*ptr = 10;
printf("%d", *ptr);
}

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c programming hard?

1015


What is break in c?

1024


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1071


FILE PROGRAMMING

2232


How do you convert strings to numbers in C?

1218


Write a program to use switch statement.

1128


How do you use a 'Local Block'?

1166


Explain what is wrong with this statement? Myname = ?robin?;

1567


Explain what is wrong with this program statement?

1118


What is the difference between #include

and #include “header file”?

1027


Explain the use of fflush() function?

1080


What is indirection?

1088


What are qualifiers?

1045


What are the advantages of union?

1067


What does do in c?

1039