C Programming MCQs with answers Page - 5

Here, you will find a collection of MCQ questions on C Programming. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 828.03K Points
Coach

Q. Recursive functions are executed in a?

  • (A) first in first out order
  • (B) load balancing
  • (C) parallel fashion
  • (D) last in first out order

A

Admin • 828.03K Points
Coach

Q. Queue is a _____________ list.

  • (A) lifo
  • (B) lilo
  • (C) filo
  • (D) fifo

A

Admin • 828.03K Points
Coach

Q. The statement print f ("%d", 10 ? 0 ? 5 : 1 : 12); will print?

  • (A) 10
  • (B) 0
  • (C) 12
  • (D) 1

A

Admin • 828.03K Points
Coach

Q. To represent hierarchical relationship between elements, which data structure is suitable?

  • (A) priority
  • (B) tree
  • (C) dqueue
  • (D) all of the above

A

Admin • 828.03K Points
Coach

Q. Which of the following data structure is linear type?

  • (A) strings
  • (B) queue
  • (C) lists
  • (D) all of the above

A

Admin • 828.03K Points
Coach

Q. The statement printf("%c", 100); will print?

  • (A) prints 100
  • (B) print garbage
  • (C) prints ascii equivalent of 100
  • (D) none of the above

A

Admin • 828.03K Points
Coach

Q. The _______ memory allocation function modifies the previous allocated space.

  • (A) calloc
  • (B) free
  • (C) malloc
  • (D) realloc

A

Admin • 828.03K Points
Coach

Q. Number of binary trees formed with 5 nodes are

  • (A) 30
  • (B) 36
  • (C) 108
  • (D) 42

A

Admin • 828.03K Points
Coach

Q. The "C" language is

  • (A) context free language
  • (B) context sensitive language
  • (C) regular language
  • (D) none of the above

A

Admin • 828.03K Points
Coach

Q. The worst case time complexity of AVL tree is better in comparison to binary search tree for

  • (A) search and insert operations
  • (B) search and delete operations
  • (C) insert and delete operations
  • (D) search, insert and delete operations

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ