Home » C Programming MCQ Questions with Answer

C Programming MCQ Questions with Answer

Are you looking to improve your knowledge of C programming and prepare for technical interviews or certification exams? Look no further! In this blog post, we have compiled a comprehensive list of C programming MCQ questions with answers to help you test your skills and boost your confidence. These questions cover a wide range of topics in C programming, including data types, operators, loops, functions, and pointers. Whether you are a beginner learning the basics of C programming or an experienced developer looking to refresh your knowledge, these MCQ questions are a great resource to have at your fingertips. So, let’s dive in and see how much you know about C programming!

C Program MCQ Questions and Answers:

Below are the multiple choice questions for the C programming language, which is a popular and widely used language for developing a wide range of applications, from simple command-line tools to complex graphical user interfaces and real-time operating systems.

Q1. Who is the father of C language?

  1. Steve Jobs
  2. James Gosling
  3. Dennis Ritchie
  4. Rasmus Lerdorf

3. Dennis Ritchie


Q2. Which of the following is not a valid C variable name?

  1. int number;
  2. float rate
  3. int variable_count
  4. int $main;

4. int $main;


Q3. Which of the following is NOT possible with any 2 operators in C?

  1. Different precedence, same associativity
  2. Different precedence, different associativity
  3. Same precedence, different associativity
  4. All of the mentioned

3. Same precedence, different associativity


Q4. What is an example of iteration in C?

  1. for
  2. while
  3. do-while
  4. all of the mentioned

4. all of the mentioned


Q5. Which of the following is not possible statically in C language?

  1. Jagged Array
  2. Rectangular Array
  3. Cuboidal Array
  4. Multidimensional Array

1. Jagged Array


Q6. Which of the following return-type cannot be used for a function in C?

  1. char *
  2. struct
  3. void
  4. none of the mentioned

4. none of the mentioned


Q7. Which of the following is not an operator in C?

  1. ,
  2. sizeof()
  3. ~
  4. None of the mentioned

Q8. scanf() is a predefined function in ____________ header file

  1. stdlib. h
  2. ctype. h
  3. stdio. h
  4. stdarg. h

3. stdio. h


Q9. Which of the following is FALSE in C?

  1. Keywords can be used as variable names
  2. Variable names can contain a digit
  3. Variable names do not contain a blank space
  4. Capital letters can be used in variables

1. Keywords can be used as variable names


Q10. Which of the following is allowed in a C Arithmetic Instruction?

  1. [ ]
  2. { }
  3. ( )
  4. None of the above

3. ( )


C Program MCQ Quiz and Online Test:

These C Program MCQ practice sets gives you the feeling of reality and a clue to the questions asked in the actual C Program related exams. When you solve these MCQ questions practically, you come across many difficulties that give you an opportunity to improve.

4.7/5 - (25 votes)
Scroll to Top