C++ Function Templates with Examples

In this tutorial we will give an introduction to C++ function templates and provide simple function template examples and a more complex sort predicates example with generic sorting template function. And to the end, there are some examples on C++ template function specialization.

Variable Scopes in C++

Variables in every programming language are used to store values that can change the program.