Why DC.print() is not working in this proggram

What shall we do so that dynamically allocated objects can call different member functions

your question is not clear to me are you taking with respect to video??

DC.print() ??

yes,this is present in this video.We have a dynamic object DC,so if i am calling print() function of this class using this object,it is giving error.Please explain

please send the link of your code

paste you code at

click on file->save->link will be generated
send the link of code generated
it will look like https://ide.codingblocks.com/s/258793

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.