Home »
MCQs »
C++ MCQs
Which of the following statement is correct about the is_array() function in C++?
126. Which of the following statement is correct about the is_array() function in C++??
- The is_array() function is used to check whether a variable is an array or not.
- The is_array() function is used to check whether a variable is a 1D array or not.
- The is_array() function is used to check whether a variable is a 1D or 2D array.
- None of these
Answer: A) The is_array() function is used to check whether a variable is an array or not.
Explanation:
The is_array() function is used to check whether a variable is an array or not.