title: Unable to understand the code in the Append() in a C program
body: <p>I am trying to read a program that I came across online. I have been trying to read and understand the program, I have understood all the lines of code except the lines given below. I would be very grateful to you all if you all could help me understand those lines. The full code can be found at <a href="http://sourcecodesonline.blogspot.com/2010/09/10implementation-of-simple-text-editor.html" rel="nofollow">this site</a></p>
  
  <pre><code>    while(1)
    {
     c=getch();
     if(c==19)
      goto end3;
     if(c==13)
     {
      c='\n';
      printf("\n\t");
      fputc(c,fp1);
     }
     else
     {
      printf("%c",c);
      fputc(c,fp1);
     }
    }
  </code></pre>