Which of the following is an example of a logic error?
A. Missing quotation marks around a string literal
B. Printing without adjusting margins
C. Receiving unexpected results from a program
D. Trying to perform an invalid calculation