In: Computer Science
Explain each of the following (in your own words):
a. The 3 fundamental rules of subprograms
b. Subprogram
c. Subprogram call
d. Subprogram Header
e. Parameter profile/Protocol
f. Formal Parameter–v-Actual Parameter
g. Procedure –v-Function
h. Design issues for subprograms
i. Stack dynamic –v-static variables
j. Parameter passing
i. In-mode
ii. Out-mode
iii. In-Out mode
1.Pass by result
2.Pass by reference
3.Pass by name
k. Design issues for parameter passing
l. Overloaded subprogram
m. Generic subprogram
n. Design issues for functions