A subprogram is an executable program unit that is invoked by a subprogram call. Its definition can be given in two parts: a subprogram declaration defining its calling convention, and a subprogram body defining its execution. There are two forms of subprograms: procedures and functions. A procedure call is a statement; a function call returns a value.
KeywordsActual Parameter Formal Parameter Calling Convention Array Type Access Type
Unable to display preview. Download preview PDF.