In C, what is the effect of a negative number in a field width specifier?
- A. the values are displayed right justified
- B. the values are displayed centered
- C. the values are displayed left justified
- D. the values are displayed as negative numbers
Answer: C. the values are displayed left justified
Explanation: A negative width (e.g. %-10d) left-justifies the output.