In reply to tejal vernekar:
In reply to dave_59:
But for static lifetime, we need to use task static add(int a,int b)
By default it will have automatic lifetime
Keep in mind, task/function in module is always static at the fault. task/function in class is always automatic at default.