title: String input using getchar()
body: <p>The following code uses getchar() to accept a line of input.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  int main()
  {
   char *rawString = (char *)malloc(200*sizeof(char));
   char *rawStringInitial = rawString;
   char c;
   c=getchar();
   while(c!='\n')
   {
    *rawString=c;
    rawString++;
    c=getchar();
   }
   *rawString='\0';
   printf("\n[%s]\n",rawStringInitial);
   return(0);
  }
  </code></pre>
  
  <p>While typing, if I press backspace, shouldn't it also be received by getchar() &amp; stored in the rawString-pointed location? However the output simply shows the final string without any special characters. Could someone explain why?</p>