HCLTech Interview Question

Local and global variable in API, Array program