C++ interview questions with overriding with code samples
C++ interview questions with overriding Overriding: if base class function and overriding function has different return type how it will impact into main program. lets say base class function is returning int which is virtual and derived class function is returning is String. and I have base* b = new derived() so can I call …
C++ interview questions with overriding with code samples Read More »