What is the exact difference between static tasks/functions and automatic tasks/functions ? please explain with a clear example

Hi Dave Could u explain why methods with static lifetime are not allowed within a class?