ARB Software Interview Question

Difference between CTE and temp table