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 union and structure in c?
What is a scope resolution operator in c?
List some of the dynamic data structures in C?
what does keyword ‘extern’ mean in a function declaration?
Why malloc is faster than calloc?
Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
without using arithmatic operator convert an intger variable x into x+1
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
What is function prototype?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
What is the purpose of Scanf Print, getchar, putchar, function?