What is the syntax of an explicit call for a template? Assume the given template function. template<class T, class U> vo
Posted: Wed Jul 13, 2022 7:52 pm
a) func<int,char>(3,’a’);
b) func(3,’a’)<int,char>;
c) <int,char>func(3,’a’);
d) func(<int>3,<char>’a’);
b) func(3,’a’)<int,char>;
c) <int,char>func(3,’a’);
d) func(<int>3,<char>’a’);