InterviewSolution
Saved Bookmarks
| 1. |
Give The Difference Of Format Between An Algorithm And A Sub Algorithm? |
|
Answer» The format used is the same as for algorithms except that a return statement replaces an exit statement and a list of PARAMETERS follows the sub algorithms NAME. Although sub algorithms may INVOKE each other and that a sub ALGORITHM may also invoke itself RECURSIVELY. The format used is the same as for algorithms except that a return statement replaces an exit statement and a list of parameters follows the sub algorithms name. Although sub algorithms may invoke each other and that a sub algorithm may also invoke itself recursively. |
|