title: What is gets() equivalent in C11?
body: <p>From <a href="http://www.cplusplus.com/reference/clibrary/cstdio/gets/" rel="noreferrer">cplusplus.com</a> </p>
  
  <blockquote>
    <p>The most recent revision of the C standard (2011) has definitively 
    removed this function from its specification</p>
    
    <p>The function is deprecated in C++ (as of 2011 standard, which follows
    C99+TC3).</p>
  </blockquote>
  
  <p>I just wanted to know what is the alternative to <code>gets()</code> in C11 standard? </p>