• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

C++ Templates

Question 11

Which of the following provides the best description of an entity type?
  • A specific concrete object with a defined set of processes (e.g. Jatin with diabetes)
  • A value given to a particular attribute (e.g. height - 230 cm)
  • A thing that we wish to collect data about zero or more, possibly real world examples of it may exist
  • A template for a group of things with the same set of characteristics that may exist in the real world

Question 12

Which of the following is incorrect in C++ ? (1)When we write overloaded function we must code the function for each usage. (2)When we write function template we code the function only once. (3)It is difficult to debug macros (4)Templates are more efficient than macros
  • (1) and (2)
  • (1), (2) and (3)
  • (3) and (4)
  • All are correct.

There are 12 questions to complete.

Last Updated :
Take a part in the ongoing discussion