title: Why is the output of `j= ++i + ++i;` different in C# and C?
body: <pre><code>int i=1,j;
  j= ++i + ++i;
  printf("%d",j);
  </code></pre>
  
  <p>The output of this program is <code>6</code> in C.But when I use the same logic for C#,
  the output is <code>5</code> .  </p>
  
  <p>I want to know the reason why the same logic behaves differently in two different languages</p>