title: What can be the Alternative of strlen()?
body: <p>I found people suggesting not to use <strong>strlen()</strong> giving reason that its time complexity is not <strong>O(1)</strong>.Than what should i use in character array to know the size in good time complexity except </p>
  
  <pre><code>     s[i]!='\0' 
  </code></pre>