[Solved] How many arguments are required by the predefined function rotate() in C++?

How many arguments are required by the predefined function rotate() in C++?

a) 1
b) 2
c) 3
d) 4

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

Comments