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
Write a c program to build a heap method using Pointer to function and pointer to structure ?
please give me some tips for the placement in the TCS.
ATM machine and railway reservation class/object diagram
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What are header files and what are its uses in C programming?
What are the data types present in c?
What are the types of pointers in c?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
plz let me know how to become a telecom protocol tester. thank you.
What 'lex' does?
What is the purpose of clrscr () printf () and getch ()?
What is static function in c?
What is a node in c?
Can a pointer be null?
why programs in c are running with out #include