<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>C++ &quot;virtual&quot; keyword for functions in derived classes - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/c-virtual-keyword-for-functions-in-derived-classes/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/c-virtual-keyword-for-functions-in-derived-classes/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Fri, 03 Sep 2021 06:38:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>C++ &quot;virtual&quot; keyword for functions in derived classes - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/c-virtual-keyword-for-functions-in-derived-classes/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Which type of inheritance needs a virtual function ?</title>
		<link>https://www.wikitechy.com/interview-questions/programming/which-type-of-inheritance-needs-a-virtual-function/</link>
					<comments>https://www.wikitechy.com/interview-questions/programming/which-type-of-inheritance-needs-a-virtual-function/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Fri, 27 Aug 2021 00:47:53 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[advantages of virtual function in c++]]></category>
		<category><![CDATA[c++ - virtual function in private or protected inheritance]]></category>
		<category><![CDATA[C++ "virtual" keyword for functions in derived classes]]></category>
		<category><![CDATA[Do virtual functions have to be overridden]]></category>
		<category><![CDATA[inheritance - C++ Virtual function implementation]]></category>
		<category><![CDATA[inheritance virtual function]]></category>
		<category><![CDATA[inheritance virtual functionpure virtual function in c++]]></category>
		<category><![CDATA[Most Asked Sapient Nitro Interview Questions]]></category>
		<category><![CDATA[pure virtual function in c++]]></category>
		<category><![CDATA[pure virtual function program in c]]></category>
		<category><![CDATA[Virtual function and inheritance in C++]]></category>
		<category><![CDATA[virtual function c++]]></category>
		<category><![CDATA[virtual function call mechanism in c++]]></category>
		<category><![CDATA[Virtual Function in C++]]></category>
		<category><![CDATA[virtual function in inheritance]]></category>
		<category><![CDATA[virtual function in java]]></category>
		<category><![CDATA[What is need of virtual function]]></category>
		<category><![CDATA[What is virtual function in C]]></category>
		<category><![CDATA[What is virtual inheritance]]></category>
		<category><![CDATA[Which type of inheritance needs a virtual function]]></category>
		<category><![CDATA[Why do we need virtual function]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=2589</guid>

					<description><![CDATA[Answer : D. All of the above]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<p class="color-pink">Which type of inheritance needs a virtual function ?</p>
<div class="row">
<div class="col-sm-6">
<p>A. <a href="https://www.wikitechy.com/tutorials/c++/c++-multiple-inheritance" target="_blank" rel="noopener">Multi level inheritance</a></p>
</div>
<div class="col-sm-6">
<p>B. <a href="https://www.wikitechy.com/tutorials/c++/c++-multiple-inheritance" target="_blank" rel="noopener">Multiple inheritance</a></p>
</div>
<div class="col-sm-6">
<p>C. Hybrid inheritance</p>
</div>
<div class="col-sm-6">
<p>D. All of the above</p>
</div>
</div>
</div>
</div>
<h3 id="answer-d-all-of-the-above"><b>Answer : </b>D. All of the above</h3>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/programming/which-type-of-inheritance-needs-a-virtual-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
