<?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>actual parameter | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/actual-parameter/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:27:45 +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>Functions Parameters</title>
		<link>https://studentprojects.in/software-development/cpp/functions-parameters/</link>
					<comments>https://studentprojects.in/software-development/cpp/functions-parameters/#respond</comments>
		
		<dc:creator><![CDATA[Shubhajna Rai]]></dc:creator>
		<pubDate>Sun, 08 Jan 2023 15:22:32 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Function parameters in c++]]></category>
		<category><![CDATA[formal parameter]]></category>
		<category><![CDATA[actual parameter]]></category>
		<guid isPermaLink="false">https://studentprojects.in/?p=10079</guid>

					<description><![CDATA[<p>A function is given information in the form of a parameter. Within the function, parameters function as variables. Within the parentheses after the function name, parameters are supplied collectively. The arguments within the parenthesis are separated by commas. Different parameters have different names. Formal Parameters As a result, the variable defined in the function is</p>
<p>The post <a href="https://studentprojects.in/software-development/cpp/functions-parameters/">Functions Parameters</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>A function is given information in the form of a parameter. Within the function, parameters function as variables.</p>



<p>Within the parentheses after the function name, parameters are supplied collectively. The arguments within the parenthesis are separated by commas.</p>



<p>Different parameters have different names.</p>



<h3>Formal Parameters</h3>



<p>As a result, the variable defined in the function is referred to as a formal parameter or simply a parameter. Variables a and b, for example, are formal parameters.</p>



<pre class="wp-block-code"><code lang="cpp" class="language-cpp">int sum(int a, int b){
   //function body
}</code></pre>



<h3>Actual Parameters</h3>



<p>Actual parameters, also referred to as arguments, are the values that are supplied to the function. Examples of arguments include the numbers num1 and num2.</p>



<pre class="wp-block-code"><code lang="cpp" class="language-cpp">int sum(int a, int b);
 
int main()
{
    int num1 = 5;
    int num2 = 6;
    sum(num1, num2);//actual parameters
}</code></pre>



<p>A function does not need parameters and does not have to return a value.</p><p>The post <a href="https://studentprojects.in/software-development/cpp/functions-parameters/">Functions Parameters</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/cpp/functions-parameters/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
