Tech Mahindra Interview Question

What is use of static variable?