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 ur strangth & weekness
0 Answers Cognizant, LG Soft, NetEnrich,
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
How is = symbol different from == symbol in c programming?
What does 1f stand for?
The __________ attribute is used to announce variables based on definitions of columns in a table?
Can you please explain the difference between syntax vs logical error?
What are the different types of pointers?
design and implement a program that reads floating-points numbers in a sentinel-controlled loop until the user terminates the program by entering zero.your program should determinate and print the smallest,largest and average of the supplied numbers.
how can i get the output 54321 4321 321 21 1 in c programming........???? pls help......
Explain 'bit masking'?
write a code for large nos multilication (upto 200 digits)
number 2 plssssss help !!....using array.. turbo c.. create a program that will accept a number and determine if it is a happy number or an unhappy number.. example: enter a number : 7 7*7=49 then 4 and 9 4*4 and 9*9== 16 + 18 gives you 97 then 9 and 7 9*9 and 7*7 == 81 + 49 gives you 130 then 1 and 3 1*1 and 3*3 == 1 + 9 gives you 10 1*1 gives you 1 sample output: 7= 49= 16+81= 97= 81+49=130 =1+9=10 =1 "7 is a happy number" . if the last number is 2 then the number being inputed is not a happy number.