title: Get the value of a variable using the hexadecimal memory address
body: <p>I just want to get the value using the hex address:</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  
  int main()
  {
     int *hold, value=10;
     hold = &amp;value;
     printf("%p",hold);
  }
  </code></pre>
  
  <p>It gives me the address <code>0x7fffd7c24334</code>. I just want to know that if there is a way in C or C++ so that I can get directly the value of "value" using hex number <code>0x7fffd7c24334</code> for the time being. I suppose the address of the variable <code>hold</code> is the same for sometime so that <code>0x7fffd7c24334</code> still point to <code>value</code>, but I am not sure.</p>