Fidelity Investments Interview Question

Difference between C and C++ and java and c# ? When would you use what and Why?