As per Law you should receive salary even you work for single day , but make sure u don't sign any agreement with your company in which they include any clause mentioned that company will keep your 1st salary.