Report question

Question: How to capture output of printf?