title: Converting char* memory address to void* and back in C
body: <p>I'm trying to pass a char*'s memory address as a void* , then to convert the void * memory address back to a string somewhere else. So I have,</p>
  
  <pre><code>char *text               // text="somestring";
  void *memadrs=&amp;text;
  </code></pre>
  
  <p>now I'm trying to convert from the void *memadrs to a new char *. </p>
  
  <p>I apologize if there are other topics concerning this already, but with my searches and confusion regarding pointers/referencing them I could not find anything relevant enough to satisfy this.</p>
  
  <p>Cheers for the help!</p>
  
  <p>edit: Sorry for the confusion folks, the char* isn't a constant.</p>