Microsoft interview question

Explain volatile and static variable