We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
here we cannot creat any object or pointer array of class person which is decleared in main function,coz getdata() and putdata() funtion in person class is pure virtual function i.e person is of abstract class datatype.this programe will through error.
Virtual Functions
You are viewing a single comment's thread. Return to all comments →
here we cannot creat any object or pointer array of class person which is decleared in main function,coz getdata() and putdata() funtion in person class is pure virtual function i.e person is of abstract class datatype.this programe will through error.