title: How to split number and char
body: <p>I want to assign char and numbers to variables. How can it be done with the <code>sscanf()</code> function?</p>
  <pre><code>char buffer[50]= &quot;A123.4,B567.8,C901.2&quot;;
  
  char a = &lt;&lt; A;
  char b = &lt;&lt; B;
  char c = &lt;&lt; C;
  
  double x = &lt;&lt; 123.4;
  double y = &lt;&lt; 567.8;
  double z = &lt;&lt; 901.2;
  </code></pre>