Drag and drop from the options below to declare a class template ''Spunky''. <class T> Spunky { public: Spunky( x) { | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Drag and drop from the options below to declare a class template ''Spunky''. <class T> Spunky { public: Spunky( x) {

please help me to find th answer

19th Apr 2019, 5:32 AM
Mayank Arya
Mayank Arya - avatar
2 Answers
+ 3
template <class T> class Spunky { public: Spunky(T x) { cout << x << " is not a character" << endl; } };
29th Oct 2019, 12:14 AM
Costi Porojnicu
Costi Porojnicu - avatar
0
Please review the chapter once again, your answer is already there.
19th Apr 2019, 8:30 AM
Ipang