Cognizant Interview Question

database difference between c and java