title: How can I terminate an infinite loop in Turbo C?
body: <p>I get stuck in an infinite loop. How can I terminate this loop?  I tried to use/press <kbd>Cntrl</kbd><kbd>c</kbd> but nothing happens.  I don't know how to stop it.</p>
  
  <pre><code>main()
  {
       while (1)
       {
            char ch;
            printf("Enter a character: \n");
            ch = getche();
            printf("\nThe code for %c is %d.\n", ch, ch);
       }
  }
  </code></pre>