Dynamic cast is a tool by which a we can explicitly instruct the compiler to perform type conversion at runtime. This is useful when type of an object is not known at compile time, but can be found at runtime. Let us see this with an example, int m...
cppnuggets.hashnode.dev1 min read
No responses yet.