Question Detail

++i is equivalent to

  • i = i + 2
  • i = i + 1
  • i = i + i
  • i = i - 1
Similar Questions :

1. Preorder is

  • depth first order
  • breadth first order
  • topological order
  • linear order

2. Which is having highest precedence in C

  • relational operators
  • equality operator
  • logical operator
  • arithmetic operator

3. A graph with one or more edges is at least

  • 1-chromatic
  • 2-chromatic
  • 3-chromatic
  • 4-chromatic

4. The complexity of Binary search algorithm is

  • O(n)
  • O(log n)
  • O(n2)
  • O(n log n)

5. minimum number of stacks of size n required to implement a queue of size n

  • One
  • Two
  • Three
  • Four
Read more from - Data Structure Questions Answers - Chapter 1