Need a little more clarification on answer I received for the following problem(asked previously but did not have an option to ask for clarification):
In C++:Ideally, a function should have no side effect.
Can you prepare a program in which no function has a side effect? Would such a program be useful?
In two paragraphs describe why or why not?