title: Declaring the getch() function
body: <pre><code>#include&lt;stdio.h&gt;
  void main()
  {
      char name[20];
      printf("Enter your name : ");
      scanf("%s",&amp;name);
      printf("your name is %s\n",name);
      getch();
  }
  </code></pre>
  
  <p>Why does the DevC++ compiler ask me to declare <code>getch()</code>?</p>