Qué es RETURN❓ - Diccionario de la PROGRAMACIÓN #016
What is the Reserved Keyword 'Return'?
Understanding the 'return' Keyword in Programming
- The video introduces the reserved keyword "return," which is commonly found in most programming languages and is essential when working with functions.
- The use of "return" depends on whether a function returns a value. If it does not return anything, the keyword is not utilized; however, if it does return a value, "return" must be implemented at some point within the function.
- The "return" statement can be followed by either a variable or a literal value, allowing flexibility in what can be returned from a function.