employer cover photo
employer logo
employer logo

Siemens Digital Industries Software

Engaged Employer

Siemens Digital Industries Software Interview Question

What are virtual functions, overriding vs overloading, different types of polymorphism? Example:: what will run if inheritnace #include class Shape{ public: virtual void getArea () { std::cout << "This is Shape" <getArea(0); std::cout<< "HEllo"; return 0; }

Interview Answer

Anonymous

Mar 27, 2024

Runtime and compile time.