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

**URL:** <https://verificationacademy.com/forums/t/what-is-the-exact-difference-between-static-tasks-functions-and-automatic-tasks-functions-please-explain-with-a-clear-example/31014>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog\
**Created:** [September 9, 2015, 10:45am UTC](https://verificationacademy.com/forums/t/what-is-the-exact-difference-between-static-tasks-functions-and-automatic-tasks-functions-please-explain-with-a-clear-example/31014 "2015-09-09T10:45:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![abhishekmj](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/ba9def/32.png) [@abhishekmj](https://verificationacademy.com/forums/u/abhishekmj)\
**Post date:** [September 11, 2015, 12:00pm UTC](https://verificationacademy.com/forums/t/what-is-the-exact-difference-between-static-tasks-functions-and-automatic-tasks-functions-please-explain-with-a-clear-example/31014/4 "2015-09-11T12:00:56Z")

</div>

_In reply to [Hardik Trivedi](https://verificationacademy.com/forums/t/what-is-the-exact-difference-between-static-tasks-functions-and-automatic-tasks-functions-please-explain-with-a-clear-example/31014/3):_

Hi Hardik,

Where is the code for Factorial Example. I am not able to figure out the link for the example.

Thanks .

---

_[View the full topic](https://verificationacademy.com/forums/t/what-is-the-exact-difference-between-static-tasks-functions-and-automatic-tasks-functions-please-explain-with-a-clear-example/31014)._
