About 88,800 results
Open links in new tab
  1. Subroutine: Nesting and Stack memory - GeeksforGeeks

    Oct 25, 2025 · A Subroutine is a set of instructions designed to perform a specific task that can be reused multiple times within a program. Instead of duplicating code, a single copy of the subroutine is …

  2. What is the difference between a function and a subroutine?

    Subroutine is more of a computer architecture/organization terminology which means a reusable group of instructions which performs one task. It is is stored in memory once, but used as often as necessary.

  3. Function (computer programming) - Wikipedia

    In computer programming, a function (also procedure, method, subroutine, routine, or subprogram) is a callable unit[1] of software logic that has a well-formed interface and behavior and can be invoked …

  4. What Are Subroutines? A Deep Dive Into How They Work

    Instead of rewriting the same code again and again, I call a subroutine whenever I need that function. Not only does this save space, but it also makes my programs more organized and easier to …

  5. Subroutines - Programming concepts - AQA - GCSE Computer Science …

    A subroutine may be used repeatedly at various points in the main program and changed by passing in data known as parameters. However, the code only has to be written once, resulting in shorter...

  6. What is a subroutine? - Ada Computer Science

    This is why we use subroutines. A subroutine is a named block of code that performs a specific task. Once a subroutine is created, the details of how it works can almost be forgotten about. In this way, …

  7. What are Subroutines? - Online Tutorials Library

    Subroutines are programs that are used by other routines to accomplish a particular task. A subroutine can be called from any point within the main body of the micro-program. Frequently, many micro …

  8. Subroutines - Loyola Marymount University

    A subroutine (also called a subprogram) is an abstraction of a process that is called. The caller passes arguments to the subroutine which accepts them as parameters.

  9. Understanding Subroutines in Computer Programming

    Jan 15, 2025 · A subroutine, also called a procedure, function, or method, is a block of reusable code designed to perform a specific task. Subroutines are fundamental in computer programming, helping …

  10. General | Subroutine | Codecademy

    Oct 12, 2021 · A subroutine is a set of computer instructions written to perform specific tasks. It is also known as a function or a procedure. A subroutine packages code for an operation or a set of …