<?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>overloading of functions | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/overloading-of-functions/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Wed, 28 Dec 2022 15:57:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>Overloading of Functions</title>
		<link>https://studentprojects.in/software-development/cpp/overloading-of-functions/</link>
					<comments>https://studentprojects.in/software-development/cpp/overloading-of-functions/#respond</comments>
		
		<dc:creator><![CDATA[Shubhajna Rai]]></dc:creator>
		<pubDate>Thu, 12 Jan 2023 15:41:13 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[overloading of functions]]></category>
		<guid isPermaLink="false">https://studentprojects.in/?p=10090</guid>

					<description><![CDATA[<p>Function overloading is the process of creating multiple functions with the same name but distinct arguments, values, or iterations. There are now a few conditions, and any quantity of functions bearing the same name that follow any of these is referred to as overloading. Distinct parameter data types with the same name Example The same</p>
<p>The post <a href="https://studentprojects.in/software-development/cpp/overloading-of-functions/">Overloading of Functions</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Function overloading is the process of creating multiple functions with the same name but distinct arguments, values, or iterations. There are now a few conditions, and any quantity of functions bearing the same name that follow any of these is referred to as overloading.</p>



<h3>Distinct parameter data types with the same name</h3>



<p>Example</p>



<pre class="wp-block-code"><code lang="cpp" class="language-cpp">float sum(int a, int b);
float sum(float a, float b);</code></pre>



<h3>The same name, but with various parameters</h3>



<p>Example</p>



<pre class="wp-block-code"><code lang="cpp" class="language-cpp">float sum(int a, int b);
float sum(int a, int b, int c);</code></pre>



<h3>Similar name, different parameter order.</h3>



<p>Example</p>



<pre class="wp-block-code"><code lang="cpp" class="language-cpp">float sum(int a, float b);
float sum(float a, int b);</code></pre>



<p>When looking for a function that has the same set of parameters, exact matches are always preferable.</p><p>The post <a href="https://studentprojects.in/software-development/cpp/overloading-of-functions/">Overloading of Functions</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/cpp/overloading-of-functions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
