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 |
coding for Fibonacci.?
plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .
Why we use int main and void main?
how to write palindrome program?
Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)ferror() A)ii B)i,ii C)iii D)iv
How are variables declared in c?
Why enum is used in c?
what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??
what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }
Why is struct padding needed?
Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors
is forign key will be unique key any table or not?