Hi Maitreyee, The good thing here is that you know why you are probably getting rejected and you are trying to improve. For improving your confidence level, there are a few things that you can do before sitting in an interview.
1. Be very thorough with your resume, you should know every aspect of your resume.
2. Give a lot of mock interviews before sitting for the real interview.
3. Once you do the above two things, make sure that you are not fearful of the interview. Change your thought process - 'The interviewer is here to hire me not to scare me.
These few mental changes will help you to gain confidence. If you don't know the answers to a question, please tell the interviewer that you are unsure of this question. He/She might guide you towards an answer or move on to the next question. Do keep in mind that you need not to answer all questions to get selected, just give your 100% and focus on the controllables.