Apart from indexing which alternative function is used to access the pair value?

14. Apart from indexing which alternative function is used to access the pair value?

  1. pair()
  2. key()
  3. get()
  4. None

Answer: C) Get()

Explanation:

The get() function is the alternative method to access the pair values, it will provide us the same result as we get from the indexing method.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.