How can I access a memory located at certain address?
Answers were Sorted based on User's Feedback
Answer / rakesh
No, it's not possible to assign the address to an pointer
variable. Assignment of address takes place at the time of
running, so it's not possible.
Even the processor does not support such memory leaks
from occuring..
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
What is a floating point in c?
What is data types?
Write a program to add the following ¼+2/4+3/4+5/3+6/3+... (Like up to any 12 no.s)
What is array of pointers to string?
Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.
What is the difference between the expression “++a” and “a++”?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
Why does notstrcat(string, "!");Work?
write a program of bubble sort using pointer?
Can U write a C-program to print the size of a data type without using the sizeof() operator? Explain how it works inside ?
How can I automatically locate a programs configuration files in the same directory as the executable?
Where in memory are my variables stored?