Pergunta de entrevista da empresa Paytm

what is the difference between volatile and non volatile function