Home » C++ Programming » Templates » Question
  1. Pick out the correct statement.
    1. duplicate code is increased
    2. it will take a long time to execute
    3. you only need to write one function, and it will work with many different types
    4. All of above
    5. None of these
Correct Option: C

Because of template type parameters, It will work with many types and saves a lot of time.



Your comments will be displayed only after manual approval.