Cognizant Interview Question

difference between c,c++ and java.