CPP MCQ
What is the use of is_same() function in C++?
A)
To check if two variable is of array type or not
B)
To check if a variable is array type or not
C)
To check whether two variables have the same characteristics
D)
To check whether two variables are different or not

Correct Answer : Option (C) :   To check whether two variables have the same characteristics

Explanation : is_same() function is used to check whether two variables have the same characteristics or not.