In C++, for what purpose the "rank()" is used?
Show answerHide answer
Correct answer: (C) It returns the dimension of the specified array
Explanation
rank() reports the number of dimensions of an array type.
Correct answer: (C) It returns the dimension of the specified array
Explanation
rank() reports the number of dimensions of an array type.
This is question 92 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.