title: Explain the output when a integer is given as input
body: <p>-explain output when an integer is an input</p>
  
  <p>-why -47 increments the value if input is 5</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  int main() {
  
          string s;
          cin&gt;&gt;s;
          cout&lt;&lt;(*s.begin())-47;
      }
      return 0;
      }
  </code></pre>