Dell Technologies Interview Question

Difference between global variable and static variable.