BlackRock Interview Question

what is the difference between procedure and a function?

Interview Answer

Anonymous

Oct 24, 2024

Function: Performs a task and returns a value. Procedure: Performs a task but typically doesn't return a value. Functions can be used in expressions, while procedures cannot.