1.

What is the use of is_same() function in C++?(a) To check if a variable is array type or not(b) To check whether two variables have the same characteristics(c) To check if two variable is of array type or not(d) To check whether two variables are different or notThis question was posed to me by my school principal while I was bunking the class.This question is from Array Type Manipulation topic in division Class Hierarchies, Library & Containers of C++

Answer» RIGHT CHOICE is (b) 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.


Discussion

No Comment Found

Related InterviewSolutions