Interviewer And Interviewee Guide

C++ Virtual Functions Interview Question:

Give example of a pure virtual function in C++?

Submitted by: Muhammad
class SomeClass {
public:
virtual void pure_virtual() = 0; // a pure virtual function
// note that there is no function body
};
Submitted by: Muhammad

Read Online C++ Virtual Functions Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.