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++??

  1. The is_array() function is used to check whether a variable is an array or not.
  2. The is_array() function is used to check whether a variable is a 1D array or not.
  3. The is_array() function is used to check whether a variable is a 1D or 2D array.
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.