Pregunta de entrevista de NVIDIA

Difference between task and function in systemverilog.