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