Which of the following is incorrect in C++?
Show answerHide answer
Correct answer: (D) Templates are more efficient than macros
Explanation
The first three statements are correct; the fourth is incorrect. Templates are more powerful and obey C++ syntactic rules, whereas macros do not, but templates take more compilation time and code size, so templates are not more efficient than macros.