Subroutine - meaning and definition. What is Subroutine
Diclib.com
ChatGPT AI Dictionary
Enter a word or phrase in any language 👆
Language:

Translation and analysis of words by ChatGPT artificial intelligence

On this page you can get a detailed analysis of a word or phrase, produced by the best artificial intelligence technology to date:

  • how the word is used
  • frequency of use
  • it is used more often in oral or written speech
  • word translation options
  • usage examples (several phrases with translation)
  • etymology

What (who) is Subroutine - definition

POINTER THAT POINTS TO A FUNCTION
Function pointers; Pointer to function; Method pointer; Function Pointer; Procedure Pointer; Subroutine pointer

subroutine         
SEQUENCE OF INSTRUCTIONS THAT CAN BE CALLED FROM OTHER POINTS IN A COMPUTER PROGRAM
Function (programming); Function (Programming); Activation framework; Procedure call; Subroutines; Algorithm function; Function (computer science); Procedure (computer science); Procedure (programming); Subprogram (programming); Subprograms; Function call; Function (computing); Function computer science; Called routine; System routine; Procedure (computing); Callable unit; Sub routine; Func; Jump to subroutine; Subprogram; Leaf function; Subroutine call; Method invocation; Local variables, recursion and reentrancy; Caller (programming); Sub program; Optimization of subroutine calls; Auxiliary subroutine; Closed subroutine; Functions (programming); Subroutine; Function calls
¦ noun Computing a set of instructions designed to perform a frequently used operation within a program.
subroutine         
SEQUENCE OF INSTRUCTIONS THAT CAN BE CALLED FROM OTHER POINTS IN A COMPUTER PROGRAM
Function (programming); Function (Programming); Activation framework; Procedure call; Subroutines; Algorithm function; Function (computer science); Procedure (computer science); Procedure (programming); Subprogram (programming); Subprograms; Function call; Function (computing); Function computer science; Called routine; System routine; Procedure (computing); Callable unit; Sub routine; Func; Jump to subroutine; Subprogram; Leaf function; Subroutine call; Method invocation; Local variables, recursion and reentrancy; Caller (programming); Sub program; Optimization of subroutine calls; Auxiliary subroutine; Closed subroutine; Functions (programming); Subroutine; Function calls
<programming> (Or "procedure") A sequence of instructions for performing a particular task. Most programming languages, including most machine languages, allow the programmer to define subroutines. This allows the subroutine code to be called from multiple places, even from within itself (in which case it is called recursive). The programming language implementation takes care of returning control to (just after) the calling location, usually with the support of call and return instructions at machine language level. Most languages also allow arguments to be passed to the subroutine, and one, or occasionally more, return values to be passed back. A function is often very similar to a subroutine, the main difference being that it is called chiefly for its return value, rather than for any side effects. (1996-10-01)
subprogram         
SEQUENCE OF INSTRUCTIONS THAT CAN BE CALLED FROM OTHER POINTS IN A COMPUTER PROGRAM
Function (programming); Function (Programming); Activation framework; Procedure call; Subroutines; Algorithm function; Function (computer science); Procedure (computer science); Procedure (programming); Subprogram (programming); Subprograms; Function call; Function (computing); Function computer science; Called routine; System routine; Procedure (computing); Callable unit; Sub routine; Func; Jump to subroutine; Subprogram; Leaf function; Subroutine call; Method invocation; Local variables, recursion and reentrancy; Caller (programming); Sub program; Optimization of subroutine calls; Auxiliary subroutine; Closed subroutine; Functions (programming); Subroutine; Function calls
¦ noun Computing a subroutine.

Wikipedia

Function pointer

A function pointer, also called a subroutine pointer or procedure pointer, is a pointer that points to a function. As opposed to referencing a data value, a function pointer points to executable code within memory. Dereferencing the function pointer yields the referenced function, which can be invoked and passed arguments just as in a normal function call. Such an invocation is also known as an "indirect" call, because the function is being invoked indirectly through a variable instead of directly through a fixed identifier or address.

Function pointers can be used to simplify code by providing a simple way to select a function to execute based on run-time values.

Function pointers are supported by third-generation programming languages (such as PL/I, COBOL, Fortran, dBASE dBL, and C) and object-oriented programming languages (such as C++, C#, and D).