Ambarella Interview Question

Different between verilog function and task.