Computer Science, asked by Steven3283, 1 year ago

Write a template function that swaps two values of same type

Answers

Answered by Anonymous
0

Hello Mate,

Rather than writing and maintaining the multiple codes, we can write one sort() ... Function Templates We write a generic function that can be used for ... One function works for all data types

Similar questions