Indhuprakash.
In my opinion you can join or leave any company at any time freely until and unless you are under a bond or let's say terms and conditions specifying the number of years you must give in the company. Other than that you can freely do so.
For more FAQs, refer here: https://info.tcs.com/computer-science-business-systems-faqs.html
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile