When we use the concept of templates, when does the program generate actual code for a template function?
- At the time of invoking the function
- At the time of declaration of the function
- When the function definition is made
- When the function is executed at run-time
Answer:
Option c: When the function definition is made
Explanation Here
0 Comments