title: How to put 2 char arrays in int putenv(char *string); in C
body: <p>I am trying to set a variable name and variable value in the environment of Windows by using this function</p>
  
  <pre><code>void env_add(char varname[], char varvalue[]) {
  
  }
  </code></pre>
  
  <p>The problem is that i do not know how to put both of these variables to <code>int putenv(char *string);</code></p>
  
  <p>Should I combine them into one char array or not?</p>
  
  <p>Thank you</p>