Cognizant Interview Question

Differentiate between instance and local variables.