Infineon Technologies interview question

What is the difference between static and volatile variable?