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?
- macros do not perform type checking
- Macros do not specify the type of the value to be returned
- Macros are suitable to functions that can written in a single statement
- All the above
Answer:
Option d: All the above
Explanation Here
0 Comments