C++ programing code counts[s[i] - '0'] ++;
<pre><code>for (int i = 0; i &lt; s.length(); i++)
{
   if (isdigit(s[i]))
   counts[s[i] - '0'] ++;
}
</code></pre>

<p>what does this code means, any one can able to explain this code " counts[s[i] - '0'] ++;" exact opertion </p>
