Home »
MCQs »
C++ MCQs
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++?
- The is_same() function is used to check whether a variable is an array or not.
- The is_same() function is used to check if two variables of array type.
- The is_same() function is used to check if two variables have the same characteristics.
- 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.