<?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>Preprocessor instructions | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/preprocessor-instructions/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:25:36 +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>Basic structure</title>
		<link>https://studentprojects.in/software-development/c-tutorials/c-tutorials-c-tutorials/basic-structure/</link>
					<comments>https://studentprojects.in/software-development/c-tutorials/c-tutorials-c-tutorials/basic-structure/#respond</comments>
		
		<dc:creator><![CDATA[Shubhajna Rai]]></dc:creator>
		<pubDate>Tue, 25 Oct 2022 06:39:18 +0000</pubDate>
				<category><![CDATA[C Tutorials]]></category>
		<category><![CDATA[Basic sturctures]]></category>
		<category><![CDATA[Preprocessor instructions]]></category>
		<category><![CDATA[Syntax]]></category>
		<guid isPermaLink="false">https://studentprojects.in/?p=9637</guid>

					<description><![CDATA[<p>C programming requires that you adhere to a fundamental framework. This is how it can be reduced. Preprocessor commands Functions Variables Statements Expressions Comments Preprocessor instructions Because we are utilising some of the commands or codes from this file, pre-processor commands instruct our software that the file name must be included before it can be</p>
<p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c-tutorials-c-tutorials/basic-structure/">Basic structure</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>C programming requires that you adhere to a fundamental framework. This is how it can be reduced.</p>



<ul><li>Preprocessor commands</li><li>Functions</li><li>Variables</li><li>Statements</li><li>Expressions</li><li>Comments</li></ul>



<p><strong>Preprocessor instructions</strong></p>



<ul><li>Because we are utilising some of the commands or codes from this file, pre-processor commands instruct our software that the file name must be included before it can be executed.They provide a programme new features.</li></ul>



<p>Example:</p>



<pre class="wp-block-code"><code lang="c" class="language-c">#include &lt;math.h&gt;</code></pre>



<ul><li>To use some specialised functions, such as power and absolute, we require math.h. We include them into our applications using the syntax #includefilename.h&gt;.</li></ul>



<p><strong>Syntax</strong></p>



<p>The basic C programming structure and how it is applied are demonstrated in the example below.</p>



<pre class="wp-block-code"><code lang="c" class="language-c">#include &lt;stdio.h&gt;
int main()
{
    printf("Hello World!");
    return 0;
}</code></pre>



<p>The pre-processor command in this case includes the header file stdio.h in the first line.Spaces and blank lines are ignored in C. The main() function is present and must always be present.A print statement comes first, followed by a return statement.In C, a semicolon must be used to conclude every sentence.Ensure that the function&#8217;s return type and return statement are the same.</p><p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c-tutorials-c-tutorials/basic-structure/">Basic structure</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/basic-structure/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
