Amdocs Interview Question

difference between local and global variables