Mayank, I added the code tags that Craig mentioned. So you can find them next time, take a look below the big textbox you type your post in. There is a section called "Instant UBB Code." Once you click on the button that says "code", some tags will appear in brackets. Copy/paste your code in between them and formatting will be preserved.