Paytm Interview Question

what is the difference between volatile and non volatile function