title: parse key-value in c
body: <p>How do i parse key-value string in C and assign it to appropriate variable?</p>
  
  <p>I.e. we will pass this string to a program:</p>
  
  <pre><code>x = 193
  </code></pre>
  
  <p>and it will assign value to appr. variable, so</p>
  
  <pre><code>printf("%i", x);
  </code></pre>
  
  <p>produces </p>
  
  <pre><code>193
  </code></pre>