Demonstrate the multiplication of dynamic and static matrices using C++