logo

Video encyclopedia

Subroutine

3:28

AQA GCSE SLR9 Introduction to subroutines

3:22

Subroutine

2:27

What is SUBROUTINE? What does SUBROUTINE mean? SUBROUTINE meaning, definition & explanation

3:22

MYRONE - SUBROUTINE

2:18

Creating Subroutines

In computer programming, a subroutine is a sequence of program instructions that performs a specific task, packaged as a unit. This unit can then be used in programs wherever that particular task should be performed.
    Explore contextually related video stories in a new eye-catching way. Try Combster now!
    • Main concepts 

    • Language support 

    • Advantages 

    • Disadvantages 

    • History 

    • C and C++ examples 

    • Visual Basic 6 examples 

    • PL/I example 

    • Local variables, recursion and reentrancy 

    • Overloading 

    • Closures 

    • Conventions 

    • Optimization of subroutine calls