Predefined function reverse() in C++ is available under which header file?
(a) math
(b) stdio
(c) stdlib
(d) algorithm
This intriguing question comes from Arrays Types topic in chapter Arrays Types of Data Structures & Algorithms I
The question was posed to me by my school principal while I was bunking the class.