Multiple choice technology programming languages

Functions and Procedures are different in which aspect ?

  1. Procedures do not return values

  2. Functions do not return values

  3. Procedure always return values

  4. None of these.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Historically, functions must return a value, while procedures do not. Note that procedures can return values via OUT parameters in many databases, but standard definition-level differentiation is that procedures do not return values directly via a RETURN statement.