Cognizant interview question

Difference between C and Java