Question 94Asked in BPSC TRE 2.0 (2023) Computer Class 9-10

Which one of the following is the correct definition of the "is_array();" function in C++?

  1. AIt checks that the specified variable is of the array or not
  2. BIt checks that the specified array is of single dimension or not
  3. CIt checks that the array specified is of multi-dimension or not
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (A) It checks that the specified variable is of the array or not

Explanation

is_array checks whether the given type or variable is an array.

From BPSC TRE 2.0 (2023) Computer Class 9-10 — Previous Year Paper

This is question 94 of BPSC TRE 2.0 (2023) Computer Class 9-10 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.