title: Self Modification of .exe c file after execution
body: <p>I have a c code with a character array initialized to "hello world". </p>
  
  <p>I would like to know if there is a possibility to re-initialize this character array upon each execution of the code, to some other random string. If not C, may I know if such an implementation is possible in any other programming language?</p>
  
  <p>In detail, let's say my code looks like:</p>
  
  <pre><code>char c[] = "hello world";
  .
  .
  </code></pre>
  
  <p>After executing this code once, I want the char array c to be initialized automatically to some other random string (and not "hello world") and this should be a permanent change. This need is for security reasons. May I know if such a thing is even possible?</p>
  
  <p>If not, may I know if it is possible to let the code self-destroy after executing it once?</p>