title: Unable to scan char variable after scanning int in C
body: <p>I am having problem scanning char variable , my code is </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;
  
  void main() 
  {
  clrscr();
  int a;
  float b;
  char c;
  
  printf("Enter value for int variable \n");
  scanf("%d",&amp;a);
  
  printf("Enter value for float variable \n");
  scanf("%f",&amp;b);
  
  printf("Enter value for char variable \n");
  scanf("%c",&amp;c); //scanning is automatically skipped !!! 
  
  getch();
  }
  </code></pre>
  
  <p>Please tell me , why is this happening and what can i do to solve it !</p>