Professional Documents
Culture Documents
Chapter 5. Template
Chapter 5. Template
TEMPLATES
Er. Ganga Gautam
• Example:
• Example:
• Example:
cout<<a+b+c;
In the above program, the normal function int Max(int a, int b) is called for
function call Max(n1, n2) instead of the Template function. This show the
prioritization of normal function over template function.