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
What are the functions to open and close the file in c language?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
What is the use of getch ()?
Write a program to swap two numbers without using third variable in c?
what is stack , heap ,code segment,and data segment
What is a built-in function in C?
Explain do array subscripts always start with zero?
Write a simple code fragment that will check if a number is positive or negative.
What is s or c?
How many levels of indirection in pointers can you have in a single declaration?
What's the total generic pointer type?
What are the advantages of c preprocessor?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
Explain pointers in c programming?
Explain how can I make sure that my program is the only one accessing a file?