Dell Technologies interview question

Difference between global variable and static variable.