Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

C++ Institute CPP Exam - Topic 3 Question 57 Discussion

Posted by Jutta on Oct 28, 2022 at 08:53 AM

Which keywords can be used to define template type parameters? Choose all possible answers:

Suggested Answer: A, C

Get Premium CPP Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
AR
Aretha 11 months ago
Static and volatile are definitely not for templates!
HO
Hollis 11 months ago
Wait, can you really use class for templates?
EL
Elina 12 months ago
Agreed, only class and typename work here.
FI
Filiberto 12 months ago
I think typedef is not valid for template parameters.
NY
Nydia 12 months ago
Definitely class and typename!
DA
Daron 1 year ago
I feel like 'static' and 'volatile' are definitely not used for templates, but I can't recall if 'typedef' has any special use in templates.
NI
Nina 1 year ago
I practiced a similar question last week, and I think 'class' and 'typename' are definitely correct.
ME
Merlyn 1 year ago
I think 'typedef' is not valid for defining template parameters, but I might be mixing it up with something else.
FR
Freeman 1 year ago
I remember that both 'class' and 'typename' can be used for template type parameters, but I'm not sure about the others.
OC
Octavio 1 year ago
I'm feeling pretty confident about this one. The matching principle is all about making sure revenue and the related expenses are recorded in the same period, so the answer has to be A. Revenue and corresponding expenses.
LO
Loreta 1 year ago
I remember a practice question that emphasized Guest access, but it doesn't seem to fit this scenario as well as Profiling does.
DA
Dan 1 year ago
I'm not totally confident on this one. I'll re-read the question a few times and consider each option before selecting my answer.
0/2000 characters

Save Cancel