Quiz on C++ Algorithm: copy_n Function



1. What does the function copy_n do in C++?
2. Which header file is required to use copy_n?
3. What are the parameters of the copy_n function?
4. What type of iterators can be used with copy_n?
5. What is the return value of copy_n?

Advertisements