<?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>Operators in Relation | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/operators-in-relation/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Sat, 10 Dec 2022 04:24:46 +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>operator in C-part 1</title>
		<link>https://studentprojects.in/software-development/c-tutorials/c-tutorials-c-tutorials/operator-in-c-part-1/</link>
					<comments>https://studentprojects.in/software-development/c-tutorials/c-tutorials-c-tutorials/operator-in-c-part-1/#respond</comments>
		
		<dc:creator><![CDATA[Shubhajna Rai]]></dc:creator>
		<pubDate>Tue, 25 Oct 2022 07:50:28 +0000</pubDate>
				<category><![CDATA[C Tutorials]]></category>
		<category><![CDATA[Opperator in c]]></category>
		<category><![CDATA[arithmetic operator]]></category>
		<category><![CDATA[Operators in Relation]]></category>
		<guid isPermaLink="false">https://studentprojects.in/?p=9659</guid>

					<description><![CDATA[<p>Operators are unique symbols that are employed to carry out certain tasks or activities. Both unary and binary options are possible.An example of an operator and a binary operator is the asterisk (*), which is used to accomplish multiplication in the C programming language.All sorts of operators are covered in this section. Arithmetic Operators Mathematical</p>
<p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c-tutorials-c-tutorials/operator-in-c-part-1/">operator in C-part 1</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Operators are unique symbols that are employed to carry out certain tasks or activities. Both unary and binary options are possible.An example of an operator and a binary operator is the asterisk (*), which is used to accomplish multiplication in the C programming language.All sorts of operators are covered in this section.</p>



<p>Arithmetic Operators Mathematical operations like addition, subtraction, etc. are carried out using arithmetic operators. Several of the basic arithmetic operators include</p>



<figure class="wp-block-image size-full is-resized"><img decoding="async" src="https://studentprojects.in/wp-content/uploads/2022/10/image-4.png" alt="" class="wp-image-9660" width="322" height="189" srcset="https://studentprojects.in/wp-content/uploads/2022/10/image-4.png 523w, https://studentprojects.in/wp-content/uploads/2022/10/image-4-300x176.png 300w" sizes="(max-width: 322px) 100vw, 322px" /></figure>



<p>We must all already be familiar with their usage in elementary mathematics. They serve the same role and have the same goal.Let&#8217;s see how they are implemented in C.</p>



<pre class="wp-block-code"><code lang="c" class="language-c">#include &lt;stdio.h&gt;
 
int main()
{
    int a = 2;
    int b = 3;
    printf("a + b = %d\n", a + b);
}
</code></pre>



<p>Output: a + b = 5</p>



<p><strong>Operators in Relation</strong></p>



<p>When comparing two or more integers or even expressions, relational operators are utilised. Similar to Java, C provides six relational operators that can return either True or False as their return value (1 or 0).</p>



<figure class="wp-block-image size-full is-resized"><img decoding="async" loading="lazy" src="https://studentprojects.in/wp-content/uploads/2022/10/image-5.png" alt="" class="wp-image-9661" width="324" height="234" srcset="https://studentprojects.in/wp-content/uploads/2022/10/image-5.png 500w, https://studentprojects.in/wp-content/uploads/2022/10/image-5-300x217.png 300w" sizes="(max-width: 324px) 100vw, 324px" /></figure>



<pre class="wp-block-code"><code lang="c" class="language-c">#include &lt;stdio.h&gt;
 
int main()
{
    int a = 2;
    int b = 3;
    printf("a == b = %d\n", a == b);
}
</code></pre>



<p>output: a == b = 0</p><p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c-tutorials-c-tutorials/operator-in-c-part-1/">operator in C-part 1</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/c-tutorials/c-tutorials-c-tutorials/operator-in-c-part-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
