C Programming MCQ Questions Answers Download PDF

C Programming MCQ Questions Answers PDF Download Objective Test

If you have prepared for C Programming MCQ then you have come to the right place. We provide all the materials for c programming questions & C Programming quiz here. C programming is a foundational language that forms the backbone of modern computing. Its simplicity, power, and efficiency have made it a favorite among programmers for decades. Whether you’re a beginner taking your first steps into the world of programming or an experienced developer looking to brush up on your C skills, mastering the language’s key concepts is essential. One effective way to solidify your understanding is by practicing with Multiple Choice Questions (MCQs). In this article, we’ll explore a range of MCQ questions and answers to help you enhance your C programming expertise.

For those of you who are waiting for c programming questions and answers PDF, we have uploaded the c programming PDF Download here. In addition, you will get c programming question with answer and c programming question bank with answers for competitive exam only on our website jobsandhan.com.


1) If an integer needs two bytes of storage then maximum value of a signed interger is

a) 216 – 1

b) 215 – 1

c) 216

d) 215

View Answer
Option – b)


2) The maximum number of temporary variables needed to swap the contents of the variables is

a) 1

b) 2

c) 3

d) 0

View Answer
Option – d)


3) x – =  y + 1 ; does the same as

a)  x = x – y + 1

b) x = x – y – 1

c) x  = – x + y + 1

d)  x  = x – y – 1

View Answer
Option – d)


4) The default parameter passing mechanism is

a) call by value

b) call by reference

c) call by value result

d) none of the above

View Answer
Option – a)


5) The expression 4 + 6 / 3* 2 -2 + 7 % 3 evaluates to

a) 3

b) 4

c)  6

d) 7

View Answer
Option – d)


6) Let  x be an array. Which of the following operation are illegal?

a) ++ x

b) x + 1

c) x++

d) x * 2

View Answer
Option – a,b,c)


7) printf (‘’% d’’, p r I n t f (‘’ tim’’) ) ;

a) results in a syntax error

b) outputs t i m3

c)outputs garbage

d) prints t i m and terminates abruptly

View Answer
Option – b)


8) The number of possible value of m, such that m & 0x3f equals 0x23 is

a) 1

b) 2

c) 3

d) 4

View Answer
Option – d)


9) Which of the following operation produce an 1, If the input bits are 1 and 1?

a) or

b) and

c) exclusive or

d) exclusive nor

View Answer
Option –a,b, c)


10) If the word size is 16 bit then ~0 x c5 will be

a) 0 x 3a

b) 0xff3a

c) 0x5c

d) none of the above

View Answer
Option -b)