title: C - Press Enter to Continue?
body: <pre><code>void clrKyb(void)
  {
      char c[30];
  
      scanf("%s",c);
  
      for(int i = 0; i &lt; 30; i++){
          if(c[i] == '\n'){
              i = 30;
          }
      }
  }
  
  void pauses(void)
  {
      printf("Press &lt;ENTER&gt; to continue:");
      clrKyb();
  }
  </code></pre>
  
  <p>Hello, I am stuck on my "pauses" function. Pressing ENTER to continue does not work?</p>