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 / vatsava

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are keywords in c with examples?

1146


Explain how can I open a file so that other programs can update it at the same time?

1181


What tq means in chat?

1172


What is a pointer variable in c language?

1153


What does c mean?

1108


What is structure packing in c?

1140


How to create struct variables?

1171


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

1421


Tell me can the size of an array be declared at runtime?

1083


Why is c used in embedded systems?

1174


Describe how arrays can be passed to a user defined function

1342


Explain what is a pragma?

1090


Can a variable be both const and volatile?

1190


How do you determine a file’s attributes?

1134


Is fortran faster than c?

1082