How can I access a memory located at certain address?
Answer Posted / banavathvishnu
suppose you have address :0x00cc01FF
main()
{
int *ptr = (int *)0x00cc01FF;
}
Using ptr you can access the memory location
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Explain what are header files and explain what are its uses in c programming?
When should structures be passed by values or by references?
What are void pointers in c?
program to convert a integer to string in c language'
Is array a primitive data type in c?
How can I write functions that take a variable number of arguments?
What do you mean by command line argument?
What are the advantages and disadvantages of pointers?
Explain what is wrong with this program statement?
What is the heap?
Is calloc better than malloc?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
Is a house a mass structure?
What is the difference between test design and test case design?
How many keywords are there in c?