C++ MQCs with Explanation ( WORKING WITH FILES)

As we know, a macro can be used to create different versions of a function for different data type. What is then the difference between a macro and a class template?

  1. macros do not perform type checking
  2. Macros do not specify the type of the value to be returned
  3. Macros are suitable to functions that can written in a single statement
  4. All the above



Answer: 
Option d: All the above

Explanation Here

Post a Comment

0 Comments