title: Conversion of 16 bit value to 32 bit value in C++
body: <p>Which is the most effective way to convert 16 bit value to 32 bit value in C++ by padding extra 2 bytes with 0 (i.e. without changing value but only change in size of variable).</p>