C-Dynamic Memory Allocation and Data Structure Questions and Answers

Take Exam

Data Structure and Algorithms questions with answers are crucial for technical interviews and competitive exams like GATE, Infosys, and TCS. This topic tests understanding of arrays, linked lists, stacks, queues, trees, and sorting algorithms. Programming interview questions with answers in this section focus on time complexity, optimization, and problem-solving efficiency. Practicing DSA MCQs strengthens core programming logic, helping candidates excel in both written tests and coding interviews.

Detailed questions on dynamic memory use. For further practice, try database data models and data structures algorithms

C-Dynamic Memory Allocation and Data Structure

Showing 10 of 104 questions

101. Evaluate post fix expression A B +C - B A+C $ - if A=1, B=2, C=3

  • 27
  • -27
  • 2
  • 6
Show Answer Report

102. After pushing the elements in the stack in the order : 8, 10, 12, -5, 6 which element will be poped first

  • 6
  • 8
  • (6, 8)
  • (8, 6)
Show Answer Report

103. The TOP of the stack is increased

  • When push operation is done
  • when pop operataion is done
  • Both a and b
  • None of these
Show Answer Report

104. The prefix notation is also called

  • Reverse polish notation
  • Polish notation
  • Infix notation
  • None of these
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test