Programming Algorithms Question: Download Questions PDF
Define string in an algorithmic notation and an example to support it?
Answer:
In the algorithmic notation, a string is expressed as any sequence of characters enclosed in single quote marks.
E.g. a single quote contained within a string is represented by two single quotes. Therefore, the string “It is John`s program.” is represented as ‘IT IS JOHN”S PROGRAM.’.
E.g. a single quote contained within a string is represented by two single quotes. Therefore, the string “It is John`s program.” is represented as ‘IT IS JOHN”S PROGRAM.’.
Download Programming Algorithms Interview Questions And Answers
PDF
Previous Question | Next Question |
What are the two ways through which the Markov algorithm terminates? | How to find median of a BST? |