Which of the following statement is correct about the is_same() function in C++?

127. Which of the following statement is correct about the is_same() function in C++?

  1. The is_same() function is used to check whether a variable is an array or not.
  2. The is_same() function is used to check if two variables of array type.
  3. The is_same() function is used to check if two variables have the same characteristics.
  4. None of these

Answer: C) The is_same() function is used to check if two variables have the same characteristics.

Explanation:

The is_same() function is used to check if two variables have the same characteristics.

Comments and Discussions!

Load comments ↻






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