Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

In addition to the standard cast, C++ defines four casting operators.What are they and what are they for?

In addition to the standard cast, C++ defines four casting operators.What are they and what are they for?

Answers


Davis
-dynamic cast-performs a polymorphic cast
-reinterpret-converts one type of pointer into another.
-static cast-performs a normal cast
-const-cast;casts away const-ness.
Githiari answered the question on February 12, 2018 at 12:23

Answer Attachments

Exams With Marking Schemes

Related Questions