When is dynamic checking necessary? - C++

When is dynamic checking necessary?

Dynamic checking is done at run time usually when dynamic_Cast or type casting is done. It checks if the program is strongly typed; i.e. conversions between types must be either valid.

When is dynamic checking necessary?

Dynamic checking is necessary in the following scenarios :
- Whenever the definition of a variable is not necessary before its usage.
- When implicit conversion of variables into other types.
- When the program is to be compiled independently as there is no type checking at compile time.
Define structured programming - C++
Structured programming - Structured programming techniques use functions or subroutines to organize...
Explain object oriented programming.
Object oriented programming - Object oriented programming uses objects to design applications...
What are the ways to comment statement in C++?
What are the ways to comment statement in C++? - C++ supports two types of comments....
Post your comment