Avench interview question

Write a simple program to demonstrate how static variable works in C?