Questions about your future
Questions about your future are common questions in any job interview, the correct way to answer them is by taking as a reference the position to which you're applying and the company, include only relevant information, if you've in mind to have a family, studying something else it's not necessary to comment those goals.
Many companies see these questions about your future to see your ambitions and life's expectations; according to them they could consider you to a promotion in a nearby future.
Where do you see yourself 3-5 years from now?
To answer this question remember that if you're hired it's because you are necessary to help the company grow, prosper and solve their problems; having that idea in mind, if you want to share your business ideas or entrepreneurial goals save those your yourself (at least during the interview).
Answer: You can emphasize that you want to contribute as much as you can to the company or exceed company expectations, or work with your full potential in the job (if get hired), then you can aspire for a supervisory or management role, you can focus on your skills to achieve those positions.
What are your goals for the next five years / ten years?
It's a question related to the previous one; but in long term; to answer this interview question is to refer to the position you're applying currently in the company; you can include your desires of having stability in the company, move from a technical position to management, additional responsibilities, and contribute with more value to the company.
How do you plan to achieve those goals?
It's important to have a clear idea in mind of what you want to do as well as how you are going to achieve that with specific steps. This question is more probable to be asked after: What are your goals for the future?
What are your salary requirements - both short-term and long-term?
Your response is very related to the company, you should research in advance about salaries in the industry and the position. In a long term it's difficult to know what salary you're going to earn, it all depends on your job, the industry situation, the company progress, etc. However, basically it's important to have in mind a range based on the current salary.
What are you looking for in your next job?
If you couldn't research what path can you follow in the company considering your skills and knowledge; you can ask for this information to your interviewer; then you can frame your answer according to it.
Questions about your career goals
Emphasize that in every step you made, you've thought about the impact of your decisions in your career, and so you've took the decisions that could take you to that job opportunity.
When the interviewer asks about your career goals to the future it's possible to add other question: What is your dream job? You can be honest and talk of certain dream that you had when you were a kid, however, emphasize the skills you have to the job you're looking for and why do you like the path you chose.
Avoid saying that your goals are not long term, or if you haven't planned it yet; it won't impress the interviewer definitely.
What will you do if you don't get this position?
This question is to know if you have other plans, and what matter most for you, the opportunity or the company. This kind of questions about the future are usually asked to employees that look for a promotion, the right answer must include a good mood and your desire to work and support whoever might be selected as well as your desire to improve yourself for other opportunities.