← Quiz: C Introduction: all 10 questions
Quiz: C Introduction · Question 1 of 10
What does this print? (code)
What does this print?
#include <stdio.h>
int main(void) {
printf("%d", 7 + 3 * 2);
return 0;
}
- A.20
- B.13
- C.7+3*2
- D.10
Answer & explanation
Correct answer: 13
Multiplication first: 3 * 2 = 6, then 7 + 6 = 13.
Can you get the rest right without peeking?
Take the timed Quiz: C Introduction quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →