✏️ Explanatory Question

Write two advantages of using functions in a program.

👁 150 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Functions offer several advantages in programming, including:

(i) Reusability of Code: Functions allow code to be reused multiple times without having to write the same code repeatedly, making programs more efficient and easier to maintain.

(ii) Manageability and Organization: Functions help break down complex problems into smaller, more manageable parts, making the code more organized and easier to understand.