Cognizant Interview Question

OPPs Global variable local variable inheritance