Which programming language elements perform similar tasks?
- Procedures and functions
- Procedures and libraries
- Libraries and classes
- Functions and libraries
Explanation & Hint:
A procedure is a section of code that is created to perform a specific task. It can be used several times throughout a program. A function is a block of code useful when executing similar jobs repeatedly. Procedures and functions are very similar. In some programming languages, functions and procedures are practically the same thing. |