Avench Interview Question

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