C Programming Language MCQ Questions Answers Computer Engineering CSE

C Programming MCQ Questions Answers Computer Engineering Language CSE

If you want to prepare for  c programming language mcq with answers, you can prepare for jobsandhan.com. C programming language is one of the foundational languages in the world of computer programming. It has stood the test of time and remains a popular choice for developing system software, applications, and embedded systems. To become proficient in C programming, one must have a strong understanding of its core concepts, syntax, and features. In this article, we present a collection of multiple-choice questions (MCQs) along with their answers to help you test and enhance your knowledge of C programming.

Those of you who are waiting for the c programming language question paper or c programming language quiz are preparing for the Competitive Exam are being informed that we are providing c programming language mcq here. However, in most competitive exams, c programming language objective questions answers come up.


1) Which of the following are not keywords in C?

a) printf

b) Main

c) IF

d) none of the above

View Answer
Option – d)


2) C was primarily developed as a

a) systems programming language

b) general purpose language

c) data processing language

d) none of the above

View Answer
Option – a)


3) C dose no automatic array bound checking. This is

a) not true always

b) False

c) C’s asset

d) C’s shortcoming and always true

View Answer
Option – d)


4) The minimum number of temporary variables needed to swap the contents of two variables is

a) 1

b) 2

c) 3

d) 0

View Answer
Option – d)


5) Lengths of the string ‘’correct’’ and ‘’correct string’’ are

a) 7,14

b) 8,14

c) 6,13

d) implementation dependant

View Answer
Option – a)


6)If integer needs two bytes of storage, then maximum value of a signed integer is

a) 216 – 1

b) 215 – 1

c) 216

d) 215

View Answer
Option – b)


7) In a program constant is defined

a) before main

b) after main

c) anywhere, but starting on new line

d) none of the above

View Answer
Option – c)


8) X – = y + 1; means

a) x = x-y+1

b) x=-x-y-1

c)x =-x+y+1

d) x=x-y-1

View Answer
Option – d)


9)The value of an automatic variable that is declared but not initialized will be

a) 0

b) -1

c) unpredictable

d) none of the above

View Answer
Option – c)


10)The maximum number of dimension an array can have in C is

a) 3

b) 4

c) 5

d) None of the above

View Answer
Option – d)