title: how to supress warning "gets() is deprecated"?
body: <p>everytime i try to input my string using <code>gets()</code> function, my compiler gives me warning like shown below. how to get rid of this. what am i doing wrong?</p>
  
  <pre><code>test.c:27:2: warning: ‘gets’ is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
  gets(temp);
  ^
  </code></pre>