Template is a very powerful yet underused feature of C++. It should be used as much as possible. Let’s begin with a simple scenario. Let’s write a function to multiply 2 numbers in C++. [crayon-5a1915eebde8b138360230/] Now, when we pass the below inputs

Read More