What accurately defines a user-defined function in programming?
2025
What accurately defines a user-defined function in programming?
Answer: D. A section of code created by the user to carry out a specific task
- A.
A function that executes automatically at the start of a program
- B.
A condition-based repetitive control structure
- C.
A function available by default in the programming language
- D.
A section of code created by the user to carry out a specific task
Attempted by 246 students.
Show answer & explanation
Correct answer: D
Loading lesson…