C++ static code analysis | misra-c++2008: A pointer to a virtual base class shall only be cast to a pointer to a derived class by means of dynamic_cast
![The C++ typecasting programming tutorial using C++ working program examples, source codes and output samples exercises and practice The C++ typecasting programming tutorial using C++ working program examples, source codes and output samples exercises and practice](https://www.tenouk.com/Module22_files/typecasting021.png)
The C++ typecasting programming tutorial using C++ working program examples, source codes and output samples exercises and practice
![c++ - Why am i getting an exception at dynamic_cast after filling object with zeros using memset - Stack Overflow c++ - Why am i getting an exception at dynamic_cast after filling object with zeros using memset - Stack Overflow](https://i.stack.imgur.com/KRrso.png)