title: How can I insert 2 other value in scanf one time
body: <p>I have an incorrect number in numB.</p>
  
  <p>How can I insert 2 other value in scanf one time?
  Or it can't do it?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  main()
  {
      char a,b;
      int numA,numB;
  
      printf("A : ");
      scanf("%c%d",&amp;a,&amp;numA);
  
      printf("B : ");
      scanf("%c%d",&amp;b,&amp;numB);
  
      printf("\n\n%d %d",numA,numB);
   }
  </code></pre>
  
  <p>result </p>
  
  <pre><code>A : S 67
  B : D 56
  
  
  67 1684370524
  </code></pre>