← All topics
Quiz: C Data Types and Operators: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. What does this print? (code)
- Q2. Why does scanf("%d", &n); use &?
- Q3. What does this print? (code)
- Q4. What does printf("%d", 5 3); print?
- Q5. What does this print? (code)
- Q6. What does this print? (code)
- Q7. What does this print? (code)
- Q8. Which format specifier reads a double with scanf?
- Q9. What happens with const int MAX = 10; followed later by MAX = 20;?
- Q10. What does this print? (code)