Back to Course
Interview Prep

C Programming MCQ – C Language Multiple Choice Questions with Answers

Practice with C MCQs

Multiple choice questions are a great way to test your conceptual understanding of C programming quickly.

Sample MCQ 1

Which of the following is the correct format specifier for a float in printf()?
a) %d   b) %c   c) %f   d) %s
Answer: c) %f

Sample MCQ 2

What is the size of an int on most 32-bit systems?
a) 2 bytes   b) 4 bytes   c) 8 bytes   d) 1 byte
Answer: b) 4 bytes

Sample MCQ 3

Which function is used to allocate memory dynamically and initialize it to zero?
a) malloc()   b) calloc()   c) realloc()   d) free()
Answer: b) calloc()

Practicing MCQs across data types, operators, loops, functions, and pointers builds strong exam and interview readiness.

Ready to master real-world C Programming development?

Learn C Programming hands-on with mentor-led, live sessions.

Explore Course