1.

What is the use of is_array() function in C++?(a) To check if a variable is array type or not(b) To check if a variable is 1-D array type or not(c) To check if a variable is 2-D array type or not(d) To check if a variable is 1-D or 2-D array type or notThis question was posed to me in semester exam.My question is taken from Array Type Manipulation in section Class Hierarchies, Library & Containers of C++

Answer»

The CORRECT option is (a) To CHECK if a variable is array type or not

The BEST explanation: is_array() FUNCTION is used to check whether a given variable is of array type or not.



Discussion

No Comment Found

Related InterviewSolutions