Hi Vishnu, > Since I tried a sample program in Microsoft Visual Soft C++ ... And it worked fine and the output is displayed as 5. However, that is not compliant code. You found a bug in Microsoft Visual C++. You can file a bug with Microsoft. Sincerely, --Eljay