Programming Algorithms Question:

Explain the function SUB in algorithmic notation?

Tweet Share WhatsApp

Answer:

In the algorithmic notation rather than using special marker symbols, generally people use the cursor position plus a substring length to isolate a substring. The name of the function is SUB.
SUB returns a value the sub string of SUBJECT that is specified by the parameters i and j and an assumed value of j.

Download Programming Algorithms PDF Read All 30 Programming Algorithms Questions
Previous QuestionNext Question
What are the arguments present in pattern matching algorithms?In Algorithmic context how would you define book keeping operations?