title: Reading 2 characters in C
body: <pre><code>#include&lt;stdio.h&gt;
  int main()
  {
    char a,b;  
    printf("Enter Character 1 ");
    scanf("%c",&amp;a);
    printf("Enter Character 2");
    scanf("%c",&amp;b);
    printf("%c%c",a,b);
  }
  </code></pre>
  
  <p>find output of program. It is not taking 2 characters.</p>