title: Any built in function to empty the string in c?
body: <p>I am new in programming so very less idea about the C libraries.
  Problem-I have a string <code>temp</code>, i want to empty it and store new string in <code>temp</code>.Is there any built in function in C to clear the string like <code>clear()</code> in C++?</p>