Can you write a program in which no function has side effect


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?

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Can you write a program in which no function has side effect
Reference No:- TGS0114943

Expected delivery within 24 Hours