"Why did you leave your last job?"

Avoid using the word you were “fired”:

If at all you were actually fired by a company, don’t use the word you were “fired” while giving an interview for a new company as you may lose a good opportunity. You can find an alternative for the word “fired”, you can say you were just “let go” which sounds more productive. 

Give productive answers:

Try to give more productive answers when you are asked about your last job and answer the interviewer on how productive you can be to their company. You can say that you were looking for a better opportunity than the earlier job, which makes them understand that you are more enthusiastic about the new job.

Make them feel that you are the right person:

While answering the questions about your earlier profession, make the new recruiters feel that you were not provided sufficient opportunity to show your talent in the old company. This makes them feel that you can be more productive to their company by sufficiently utilizing your talent.  They may also give you good platform to explore yourself.

Make them know you were finding a better place to work:

Make the interviewer feel that you were looking for a better position other than the old job and that is their company. Show them hoe efficient you are, present some of your older projects before them and make them understand you can be more capable in their organization.