download Mastguru Android App

Question Detail

++i is equivalent to

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

1. Sort which compares adjacent elements in a list and switches where necessary is

  • Insertion sort
  • Heap sort
  • Quick sort
  • Bubble sort

2. Deletion from one end and insertion from other end is

  • stack
  • branch
  • tree
  • queue

3. ++i is equivalent to

  • i = i + 2
  • i = i + 1
  • i = i + i
  • i = i - 1

4. The complexity of linear search algorithm is

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

5. The memory address of the first element of an array is called

  • floor address
  • first address
  • foundation address
  • base address
Read more from - Data Structure Questions Answers - Chapter 1
Post a comment