What does subroutine mean?
A procedure or function within a larger program or routine that can be called and executed independently. A subroutine is a block of code that can be used multiple times in a program.
Example
"The compiler uses a subroutine to optimize the code for different platforms."
Reviewed by Deb Chak, Editor. AI-assisted content curated by RJS Tech Solutions LLP.