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

Explain how can I write functions that take a variable number of arguments?

1045


What is the size of structure in c?

1109


What is the difference between class and object in c?

1111


Why we use stdio h in c?

989


What is the newline escape sequence?

1032


I have a varargs function which accepts a float parameter?

1006


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2640


What is structure padding in c?

1071


How are strings stored in c?

984


Write a Program to find whether the given number or string is palindrome.

1241


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

998


What is atoi and atof in c?

1040


what are the facialities provided by you after the selection of the student.

2192


What are preprocessor directives in c?

1049


Find MAXIMUM of three distinct integers using a single C statement

1021