Ace Your C++ Skills 2026 – Rock the ‘Thinking in C++’ Challenge!

Question: 1 / 565

What kind of typing mechanism does template provide in C++?

Strong typing

Weak typing

Template provides weak typing in C++. This means that data types can be transferred without prior declarations and the compiler checks for compatibility at run-time. The other options are incorrect because

- A: Strong typing is a stricter form of typing that requires strict matching between variable types.

- C: Static typing is a type checking approach where variables are bound to a specific type at compile-time.

- D: Dynamic typing is a type checking approach where variables are bound to a specific type at run-time.

Get further explanation with Examzify DeepDiveBeta

Static typing

Dynamic typing

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy