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
Describe wild pointers in c?
what is the height of tree if leaf node is at level 3. please explain
What are reserved words?
What is static volatile in c?
What does c value mean?
How are Structure passing and returning implemented by the complier?
what will be the output for the following main() { printf("hi" "hello"); }
What 'lex' does?
How do you initialize pointer variables?
Why c is called a middle level language?
What is context in c?
How can I determine whether a machines byte order is big-endian or little-endian?
How can you draw circles in C?
What's the difference between constant char *p and char * constant p?
code for quick sort?