title: Difference between memory of int type in C++ and C#
body: <p>In <code>C#</code> int type variable take <code>4 byte</code> memory and in <code>c++</code> it take <code>2 byte</code> memory. Even in <code>c++ short</code> and <code>int</code> both take <code>2 byte</code> memory and <code>long</code> takes <code>4 byte</code>. And in C# the short and int just take 4 byte. Why is this difference of memory in both languages while both follow the OOPS?</p>