Report question

Question: Detect in C if outputting to a terminal