A generic function can be created using the following :
निम्नलिखित का उपयोग करके एक जेनेरिक फंक्शन बनाया जा सकता है :
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. Templateटेम्प्लेट
Explanation
Templates (template <class T>) create generic functions and classes.
टेम्प्लेट (template <class T>) से जेनेरिक फंक्शन/क्लास बनते हैं।
More Programming Concepts & Python questions
- Consider the following C++ statements : int x; int& y = x; The statements y = 25; x = 2*x + 30; update the value of x and y as :
- Which symbol should be used to pass the object by reference in C++ ?
- What is meant by multiple inheritance ?
- Inheritance allows the following in C++ program :
- Which of the following is the scope resolution operator in C++ language ?
- In C++, << operator used for shifting bits can also be used for :