Examveda

What are Templates in C++?

A. A feature that allows the programmer to write generic programs

B. A feature that allows the programmer to write specific codes for a problem

C. A feature that allows the programmer to make program modular

D. A feature that does not add any power to the language

Answer: Option A


Join The Discussion

Related Questions on C plus plus miscellaneous

What is the difference between '++i' and 'i++' in C++?

A. None of the above

B. They both have the same effect

C. '++i' increments the value of 'i' before returning it, while 'i++' increments the value of 'i' after returning it

D. '++i' increments the value of 'i' after returning it, while 'i++' increments the value of 'i' before returning it