🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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;
}
  1. A.20
  2. B.13
  3. C.7+3*2
  4. 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 →