Qualcomm Interview Question

What is the difference between volatile and static code?