title: How to convert char pointer into char in C Open VMS
body: <p>This is to convert from char pointer into char.</p>
  
  <p>I followed the codes from another topic but it seems like it's not working to me.
  I am using Open VMS Ansi C compiler for this. I don't know what's the difference with
  another Platform.</p>
  
  <pre><code>main(){
  
  char * field = "value1";
  char c[100] = (char )field;
  
  printf("c value is %s",&amp;c);
  </code></pre>
  
  <p>}</p>
  
  <p>the output of this is</p>
  
  <pre><code>c value is
  </code></pre>
  
  <p>which is unexpected for me I am expecting</p>
  
  <pre><code>c value is value1
  </code></pre>
  
  <p>hope you can help me.</p>