+1 vote
in Data Structures & Algorithms I by (110k points)
How many arguments are required by the predefined function rotate() in C++?

(a) 1

(b) 2

(c) 3

(d) 4

The query is from Arrays Types topic in division Arrays Types of Data Structures & Algorithms I

The question was asked in class test.

1 Answer

+1 vote
by (408k points)
selected by
Best answer
The correct option is (c) 3

To explain: The predefined function for rotating an array is rotate() in C++ which comes under the library called an algorithm. It requires 3 arguments.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.