title: Assign 2 char to an int
body: <p>I am trying to understand the outcome of this code:</p>
  
  <pre><code>#include&lt;iostream&gt;
  
  using namespace std;
  
  int main()
  {
      int a = 'dd';
      cout &lt;&lt; a;
      return 0;
  }
  </code></pre>
  
  <p>The result is 25700. How the compiler get this number?
  Thanks</p>