C++ MQCs with Explanation ( WORKING WITH FILES)

When we use the concept of templates, when does the program generate actual code for a template function?

  1. At the time of invoking the function
  2. At the time of declaration of the function
  3. When the function definition is made
  4. When the function is executed at run-time



Answer: 
Option c: When the function definition is made

Explanation Here

Post a Comment

0 Comments