<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-7528639044802311173</atom:id><lastBuildDate>Thu, 15 Oct 2026 09:52:57 +0000</lastBuildDate><category>C</category><category>C Language</category><category>C program</category><category>Compiling C Program</category><category>Creating C program</category><category>Data</category><category>Executing C program</category><category>HIGH LEVEL LANGUAGES</category><category>LOW LEVEL LANGUAGES</category><category>Linking C Program</category><category>Saving C program</category><category>Standard Identifier</category><category>Turbo C</category><category>User defined Identifier</category><category>Advantages of C Language</category><category>Assembler</category><category>Assembly Language</category><category>Basic Structure of C program</category><category>Bugs</category><category>C Preferable Language</category><category>C compiler</category><category>C program Errors</category><category>C program Statements</category><category>Character set of C</category><category>Characteristics of High Level Languages</category><category>Characters</category><category>Cobol</category><category>Compiler</category><category>Constant Macro</category><category>Data Type Integers</category><category>Debugging</category><category>Define Directive</category><category>Delimiters</category><category>Editing C program</category><category>Errors</category><category>Fortran</category><category>Header Files</category><category>History of C Language</category><category>IDE</category><category>Identifier</category><category>Identifiers</category><category>Include Directive</category><category>Installing Turbo C</category><category>Integer overflow</category><category>Interpreter</category><category>Introduction of Languages</category><category>Java</category><category>Keyword</category><category>Keywords of C Language</category><category>Language Translator</category><category>Loading C program</category><category>Logical Error</category><category>Machine Language</category><category>Main Function</category><category>Object Code</category><category>Preprocessor Directives</category><category>Program</category><category>Program Errors</category><category>Reserved Words</category><category>Runtime Error</category><category>Source Code</category><category>Statement Terminator</category><category>Structured Programming Languages</category><category>Syntax Error</category><category>TC Editor</category><category>TC interface</category><category>Token</category><category>Token in C language</category><category>Turbo C Editor</category><category>Types of Data</category><category>Types of Data in C</category><category>Types of Errors</category><category>Types of Identifiers</category><category>Types of Language Translator</category><category>Types of Languages</category><category>Unstructured Programming Languages</category><category>User defined data types</category><category>int</category><category>programming Languages</category><title>Learn C Programming</title><description>Learn Free Programming and Spread it</description><link>http://cprogramming007.blogspot.com/</link><managingEditor>noreply@blogger.com (SoftAir Technologies)</managingEditor><generator>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-7351640989505240709</guid><pubDate>Tue, 18 Dec 2012 12:01:00 +0000</pubDate><atom:updated>2012-12-18T17:48:43.246+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Data</category><category domain="http://www.blogger.com/atom/ns#">Data Type Integers</category><category domain="http://www.blogger.com/atom/ns#">int</category><category domain="http://www.blogger.com/atom/ns#">Integer overflow</category><title>Data Type &#39;int&#39;</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjEuBXHzwLNzaBf0z8erEA_lVcsCUiZsteMvvB8ZcEecKQMH20GBg6V87nxs49mfvBOU3ThDeCjC9_llMNWdYBBCcVpqsSOzv056YAUWUJvk9F7GRN5L1zMCwzjiSqypDHbCDu6WKkDPI/s1600/Integers.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjEuBXHzwLNzaBf0z8erEA_lVcsCUiZsteMvvB8ZcEecKQMH20GBg6V87nxs49mfvBOU3ThDeCjC9_llMNWdYBBCcVpqsSOzv056YAUWUJvk9F7GRN5L1zMCwzjiSqypDHbCDu6WKkDPI/s1600/Integers.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Data :-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #646464; font-family: Verdana, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;The values given to the program to perform various operations on it, is&amp;nbsp;referred&amp;nbsp;to as&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-family: Verdana, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;data&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #646464; font-family: Verdana, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20px;&quot;&gt;Data Type &#39;int&#39; :&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;The &#39;&lt;span style=&quot;color: red;&quot;&gt;int&lt;/span&gt;&#39; stands for integer. An integer is a whole number without decimal part. It may have a positive or a negative value. The numbers 0, 1, 2, 3, ...., and their negatives -1, -2, -3, ....., are example of integers.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The &#39;int&#39; data type is used to store whole values. It takes 2 bytes in memory. The &#39;&lt;span style=&quot;color: red;&quot;&gt;int&lt;/span&gt;&#39; type variables can store values from &amp;nbsp;-32768 to 32767 (-&lt;/span&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;2&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;15&lt;/span&gt; &lt;/span&gt;to &lt;span style=&quot;font-size: large;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;15&lt;/span&gt;&amp;nbsp;-1). If a &amp;nbsp;value greater then &lt;span style=&quot;color: red;&quot;&gt;32767&lt;/span&gt; is assigned to an &#39;&lt;span style=&quot;color: red;&quot;&gt;int&lt;/span&gt;&#39; type variable then correct value will not be assigned (or fit) in the memory allocated to that variable. This condition is called &lt;span style=&quot;color: red;&quot;&gt;integer overflow&lt;/span&gt;. When overflow occurs, the program continues to run but it produces incorrect result.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://cprogramming007.blogspot.com/2012/12/data-type-int.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjEuBXHzwLNzaBf0z8erEA_lVcsCUiZsteMvvB8ZcEecKQMH20GBg6V87nxs49mfvBOU3ThDeCjC9_llMNWdYBBCcVpqsSOzv056YAUWUJvk9F7GRN5L1zMCwzjiSqypDHbCDu6WKkDPI/s72-c/Integers.jpg" height="72" width="72"/><thr:total>8</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-361358530779357688</guid><pubDate>Sat, 04 Aug 2012 12:42:00 +0000</pubDate><atom:updated>2012-08-04T17:59:40.767+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Data</category><category domain="http://www.blogger.com/atom/ns#">Types of Data</category><category domain="http://www.blogger.com/atom/ns#">Types of Data in C</category><category domain="http://www.blogger.com/atom/ns#">User defined data types</category><title>Data Types in C</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgthc0ySXb3-w-5c2C4A3vYYWf87k_nuJ6mVlIgMTYVqdtiEu5WC3SMg7utESpD1EPNZMbxiFKOP7x6MoZPMLyuYWcE7YrWYhhojzmJlkoYteKY5FfwZVmb6uq0XnYapTa-i-HqQO3H-w4/s1600/Types+of+Data.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgthc0ySXb3-w-5c2C4A3vYYWf87k_nuJ6mVlIgMTYVqdtiEu5WC3SMg7utESpD1EPNZMbxiFKOP7x6MoZPMLyuYWcE7YrWYhhojzmJlkoYteKY5FfwZVmb6uq0XnYapTa-i-HqQO3H-w4/s320/Types+of+Data.jpg&quot; width=&quot;231&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Data:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The values given to the program to perform various operations on it, is&amp;nbsp;referred&amp;nbsp;to as &lt;span style=&quot;color: red;&quot;&gt;data&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Types of Data in C:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The data type defines the set of values and a set of operations that can be performed on those values. The data is given to the program as input. The data is processed according to the program instructions and output is returned.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In program designing, the data and its types are defined before designing the actual program used to process the data. The values or data used in a program may be of different types. In a C program, each variable is associated with a specific data type.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C language provides standard data types. A standard data type is one of that is predefined in the language.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;For Example:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;color: red; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;li&gt;int&lt;/li&gt;
&lt;li&gt;float&lt;/li&gt;
&lt;li&gt;double&lt;/li&gt;
&lt;li&gt;char&lt;/li&gt;
&lt;/span&gt;&lt;/ol&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
C language also allows the user to define its own data types known as user defined data types.&lt;/span&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/08/types-of-data.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgthc0ySXb3-w-5c2C4A3vYYWf87k_nuJ6mVlIgMTYVqdtiEu5WC3SMg7utESpD1EPNZMbxiFKOP7x6MoZPMLyuYWcE7YrWYhhojzmJlkoYteKY5FfwZVmb6uq0XnYapTa-i-HqQO3H-w4/s72-c/Types+of+Data.jpg" height="72" width="72"/><thr:total>5</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-8211570709284657414</guid><pubDate>Fri, 03 Aug 2012 23:22:00 +0000</pubDate><atom:updated>2012-08-04T17:59:17.912+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Identifiers</category><category domain="http://www.blogger.com/atom/ns#">Standard Identifier</category><category domain="http://www.blogger.com/atom/ns#">Types of Identifiers</category><category domain="http://www.blogger.com/atom/ns#">User defined Identifier</category><title>Types of Identifiers</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMCC5AGMXEOsNTpqyyaP9pM532ADKvOst9qaFgE1kMv3VXV1lpGMAPg1E30826USadWC9IDaNZ9m5DAnR_TxxzSmoPMQIQ5RAtWQKGutUov4cM6Bgunuts7O1lCU3ShoLdKmYwpOLAWM4/s1600/Types+of+Identifiers.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;68&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMCC5AGMXEOsNTpqyyaP9pM532ADKvOst9qaFgE1kMv3VXV1lpGMAPg1E30826USadWC9IDaNZ9m5DAnR_TxxzSmoPMQIQ5RAtWQKGutUov4cM6Bgunuts7O1lCU3ShoLdKmYwpOLAWM4/s320/Types+of+Identifiers.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Types of Identifiers:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There are two types of Identifiers in C. These are:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;Standard Identifier&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;User defined Identifier&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;
&lt;li&gt;Standard Identifier:-&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Like keywords, there are also predefined identifiers in C. The predefined identifiers of the C language that are used for special purposes in the source program are called the &lt;span style=&quot;color: red;&quot;&gt;standard Identifier&lt;/span&gt;. Each identifier has special meanings in C.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The names used for standard library functions are standard identifiers.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;For Example:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In C program, the scanf() and printf() functions are mostly used for input or output operations. Therefore, the functions names &#39;&#39;scanf&#39;&#39; or &quot;printf&quot; are examples of standard identifiers.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;User Defined Identifiers:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The user (or programmer) can define its own identifiers in the C program such as variables, user defined functions, labels etc. The Identifiers defined by the user in the program are called &lt;span style=&quot;color: red;&quot;&gt;user defined Identifiers&lt;/span&gt;.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;C is a case sensitive language.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;For Example:-&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The C compiler considers &#39;Area&#39; and &#39;area&#39; as two different identifiers.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/08/types-of-identifiers.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMCC5AGMXEOsNTpqyyaP9pM532ADKvOst9qaFgE1kMv3VXV1lpGMAPg1E30826USadWC9IDaNZ9m5DAnR_TxxzSmoPMQIQ5RAtWQKGutUov4cM6Bgunuts7O1lCU3ShoLdKmYwpOLAWM4/s72-c/Types+of+Identifiers.jpg" height="72" width="72"/><thr:total>8</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-588097101412399204</guid><pubDate>Wed, 01 Aug 2012 17:18:00 +0000</pubDate><atom:updated>2012-08-01T22:22:38.692+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C</category><category domain="http://www.blogger.com/atom/ns#">C Language</category><category domain="http://www.blogger.com/atom/ns#">Identifier</category><category domain="http://www.blogger.com/atom/ns#">Standard Identifier</category><category domain="http://www.blogger.com/atom/ns#">User defined Identifier</category><title>Identifier</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiknSrJbWI2cgzrClMK9z7ICdl6e9ZLsJqt3QGKSkbEnMVzp30vBmcDnSakKgVZqCttz1XJOlZYZoV5hfzw_Wv06uU4l1IhR9U7cukYe_i5-nfb7jKGYXlFFwv6T_HzA51eBLgO9A63Hsk/s1600/Identifiers.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;42&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiknSrJbWI2cgzrClMK9z7ICdl6e9ZLsJqt3QGKSkbEnMVzp30vBmcDnSakKgVZqCttz1XJOlZYZoV5hfzw_Wv06uU4l1IhR9U7cukYe_i5-nfb7jKGYXlFFwv6T_HzA51eBLgO9A63Hsk/s200/Identifiers.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Identifier:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The unique names used in the program to represent the variables, constants, functions and labels etc. are called &lt;span style=&quot;color: red;&quot;&gt;Identifiers&lt;/span&gt;. You can use any number of characters for the name of an identifier but only the first 31 characters are significant to the C compiler.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;Types of Identifiers:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; There are two types of identifiers in C. These are:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Standard Identifier&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;User-Defined Identifier&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/08/identifier.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiknSrJbWI2cgzrClMK9z7ICdl6e9ZLsJqt3QGKSkbEnMVzp30vBmcDnSakKgVZqCttz1XJOlZYZoV5hfzw_Wv06uU4l1IhR9U7cukYe_i5-nfb7jKGYXlFFwv6T_HzA51eBLgO9A63Hsk/s72-c/Identifiers.jpg" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-1368130593940695288</guid><pubDate>Wed, 01 Aug 2012 10:52:00 +0000</pubDate><atom:updated>2012-08-01T15:52:27.323+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C</category><category domain="http://www.blogger.com/atom/ns#">C Language</category><category domain="http://www.blogger.com/atom/ns#">Token</category><category domain="http://www.blogger.com/atom/ns#">Token in C language</category><title>Token</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsK0GWh7zuXWNzs_XfzfeRrpJPZTZGQh2zeh-ClLjiVS7wpNQgXziZb4gMUr251wm9GrNPF3dMzXj3QEo_3Fwn67aZ-CuTL5OjRuWvsIyE3jcXyxchips3ejAuqse1cfWUTSC-zOiYVJ4/s1600/Tokens+of+C+language.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsK0GWh7zuXWNzs_XfzfeRrpJPZTZGQh2zeh-ClLjiVS7wpNQgXziZb4gMUr251wm9GrNPF3dMzXj3QEo_3Fwn67aZ-CuTL5OjRuWvsIyE3jcXyxchips3ejAuqse1cfWUTSC-zOiYVJ4/s200/Tokens+of+C+language.jpg&quot; width=&quot;199&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Token:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In C-language, a source program consists of keywords, variables (or identifiers), constants, operators, punctuators etc. These elements of a program known as &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;tokens&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;For Example:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; float temp, xy4;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xy4 = 10;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp = xy4 + 10 * 2;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In the above program;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&#39;&#39;&lt;span style=&quot;color: red;&quot;&gt;main&lt;/span&gt;&#39;&#39; is a special identifier and temp, xy4 are variables.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&#39;&#39;&lt;span style=&quot;color: red;&quot;&gt;float&lt;/span&gt;&#39;&#39; is a keyword.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The punctuators are; &lt;span style=&quot;color: red;&quot;&gt;{&lt;/span&gt; , &lt;span style=&quot;color: red;&quot;&gt;&quot;&lt;/span&gt; , &lt;span style=&quot;color: red;&quot;&gt;&#39;&#39;&lt;/span&gt; ,&lt;span style=&quot;color: red;&quot;&gt; (&lt;/span&gt; , &lt;span style=&quot;color: red;&quot;&gt;)&lt;/span&gt; , &lt;span style=&quot;color: red;&quot;&gt;;&lt;/span&gt; , white spaces etc.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The operators are : , &lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt; , &lt;span style=&quot;color: blue;&quot;&gt;*&lt;/span&gt; &amp;nbsp;, &lt;span style=&quot;color: blue;&quot;&gt;+&lt;/span&gt; , etc.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/08/token.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsK0GWh7zuXWNzs_XfzfeRrpJPZTZGQh2zeh-ClLjiVS7wpNQgXziZb4gMUr251wm9GrNPF3dMzXj3QEo_3Fwn67aZ-CuTL5OjRuWvsIyE3jcXyxchips3ejAuqse1cfWUTSC-zOiYVJ4/s72-c/Tokens+of+C+language.jpg" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-6603587764675643053</guid><pubDate>Tue, 31 Jul 2012 21:45:00 +0000</pubDate><atom:updated>2012-08-01T03:11:26.945+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C</category><category domain="http://www.blogger.com/atom/ns#">C Language</category><category domain="http://www.blogger.com/atom/ns#">Keyword</category><category domain="http://www.blogger.com/atom/ns#">Keywords of C Language</category><category domain="http://www.blogger.com/atom/ns#">Reserved Words</category><title>Keywords of C language</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;img height=&quot;73&quot; src=&quot;http://cprogramminglanguage.net/app_themes/C/_images/logo.gif&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Keyword:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The predefined words of the C-language that are used for special purposes in the source program are called &lt;span style=&quot;color: red;&quot;&gt;keywords&lt;/span&gt;. Keywords are also known as reserved words.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;For Example:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; keyword &lt;span style=&quot;color: red;&quot;&gt;&quot;int&quot; &lt;/span&gt;is used to define the integer type variables.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Each keyword has certain meanings in C&amp;nbsp;language. They cannot be redefined or used in other ways. They cannot be used as variable or function names.&amp;nbsp;Keywords&amp;nbsp;are always written in&amp;nbsp;lowercase&#39;s. There are 32 keywords in C.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; The &#39;&#39;&lt;span style=&quot;color: red;&quot;&gt;main&lt;/span&gt;&#39;&#39; is not the keyword. It is a special identifier that indicates the beginning of the program.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;C LANGUAGE KEYWORDS:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKyJzlZJ_94-Gzw6uOiiiYD1QW7plN-DLT90LFBOGvNKmBhKGbHt8oYp2zDK1o4bwfPwEmVi0Ff-ErTFUBhsCAQmT93L-M2_xKSuekKRgzI9uIFFqkUinsGn3IqAqMGFlcTvxScTD2III/s1600/C+Language.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;144&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKyJzlZJ_94-Gzw6uOiiiYD1QW7plN-DLT90LFBOGvNKmBhKGbHt8oYp2zDK1o4bwfPwEmVi0Ff-ErTFUBhsCAQmT93L-M2_xKSuekKRgzI9uIFFqkUinsGn3IqAqMGFlcTvxScTD2III/s320/C+Language.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/08/keywords-of-c-language.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKyJzlZJ_94-Gzw6uOiiiYD1QW7plN-DLT90LFBOGvNKmBhKGbHt8oYp2zDK1o4bwfPwEmVi0Ff-ErTFUBhsCAQmT93L-M2_xKSuekKRgzI9uIFFqkUinsGn3IqAqMGFlcTvxScTD2III/s72-c/C+Language.jpg" height="72" width="72"/><thr:total>6</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-6326080687090804288</guid><pubDate>Mon, 30 Jul 2012 19:07:00 +0000</pubDate><atom:updated>2012-07-31T00:10:56.370+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C</category><category domain="http://www.blogger.com/atom/ns#">C Language</category><category domain="http://www.blogger.com/atom/ns#">Character set of C</category><category domain="http://www.blogger.com/atom/ns#">Characters</category><title>Character Set of C</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix8Hhrwn2ZkjoB_X9cZrs50AuhF4WOLxO6vxFR3JJEKhdm9BAf2TZQhKD1Mnx1o8FnhQdIKMs3P9zpw9Dbeq-_mjYsc6OuLymaKxEOazllsxhSbm0JTXVUo5SkHAcc9VU-mI1rfE4y5gY/s1600/C.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix8Hhrwn2ZkjoB_X9cZrs50AuhF4WOLxO6vxFR3JJEKhdm9BAf2TZQhKD1Mnx1o8FnhQdIKMs3P9zpw9Dbeq-_mjYsc6OuLymaKxEOazllsxhSbm0JTXVUo5SkHAcc9VU-mI1rfE4y5gY/s200/C.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Character Set of C:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Every programming language has its own set of&amp;nbsp;characters&amp;nbsp;which are used to write the statements of the program (source code). In C language also, a program is written by using a set of characters. These characters are known as &lt;span style=&quot;color: red;&quot;&gt;alphabet&lt;/span&gt; or &lt;span style=&quot;color: red;&quot;&gt;character set of C&lt;/span&gt;. The alphabet of C language is given below.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Lowercase letters: &lt;/span&gt;a, b, c, ........, z&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Uppercase letters: &lt;/span&gt;A, B, C, ............, Z&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Digits: &lt;/span&gt;0, 1, 2, ............, 9&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Special characters: &lt;/span&gt;+, -, /, =, (, ), [, ], {, }, &amp;lt;, &amp;gt;, &#39;, &quot;, !, @, #, $, %, \, /, ;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;White Spaces: &lt;/span&gt;blanks, new line, tab etc.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/07/character-set-of-c.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix8Hhrwn2ZkjoB_X9cZrs50AuhF4WOLxO6vxFR3JJEKhdm9BAf2TZQhKD1Mnx1o8FnhQdIKMs3P9zpw9Dbeq-_mjYsc6OuLymaKxEOazllsxhSbm0JTXVUo5SkHAcc9VU-mI1rfE4y5gY/s72-c/C.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-4635942689993360724</guid><pubDate>Mon, 21 May 2012 19:02:00 +0000</pubDate><atom:updated>2012-05-22T00:02:30.928+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C</category><category domain="http://www.blogger.com/atom/ns#">C program</category><category domain="http://www.blogger.com/atom/ns#">Constant Macro</category><category domain="http://www.blogger.com/atom/ns#">Delimiters</category><category domain="http://www.blogger.com/atom/ns#">Statement Terminator</category><title>Constant Macro, Delimiters, Statement Terminator</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://deal2need.co.cc/wp-content/uploads/2012/03/blue-c-language-icon-256-x-256.gif&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Dear Members,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; In this lesson we give you a concept about Constant Macro,&amp;nbsp;Delimiters, Statement Terminator and its importance in C program.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; text-align: center;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Constant Macro:-&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; text-align: center;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The &lt;span style=&quot;color: red;&quot;&gt;&#39;&lt;/span&gt;define&lt;span style=&quot;color: red;&quot;&gt;&#39; &lt;/span&gt;directive is an important preprocessor directive. It is used to define a constant known &lt;span style=&quot;color: red;&quot;&gt;constant macro&lt;/span&gt;. A constant macro is an identifier, which is assigned a particular constant value. The value of identifier remains constant during the execution of program.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Delimiters:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;/ul&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG2YAx-fxO0Of3S5uX4sxwL35C9GSJpV700IsGkuNIJrDjPTqDJJKhxbJQ7l2ZCq0aolnGqIOD73UEFuOTC-zxdJFAHAx9UEvaiNF22_jJMu2Lskq-h9Ws_102JHY_2US8_t0ewVd1fZE/s1600/Delimiters.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG2YAx-fxO0Of3S5uX4sxwL35C9GSJpV700IsGkuNIJrDjPTqDJJKhxbJQ7l2ZCq0aolnGqIOD73UEFuOTC-zxdJFAHAx9UEvaiNF22_jJMu2Lskq-h9Ws_102JHY_2US8_t0ewVd1fZE/s320/Delimiters.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The body of the function is surrounded by braces (or&amp;nbsp;curly&amp;nbsp;brackets &lt;span style=&quot;color: red;&quot;&gt;{&lt;/span&gt; and &lt;span style=&quot;color: red;&quot;&gt;} &lt;/span&gt;). These braces are called delimiters. The left brace indicates the start of the body of the function, whereas the matching right brace indicates the end of the body by the function.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Statement Terminator:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://graphics8.nytimes.com/images/2008/02/14/nyregion/15semicolon.151.jpg&quot; width=&quot;166&quot; /&gt;&amp;nbsp;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Every statement of C program must be terminated with semicolon (&lt;span style=&quot;color: red;&quot;&gt; &lt;/span&gt;&lt;b style=&quot;color: red;&quot;&gt;; &lt;/b&gt;). It is called statement terminator. If any of the statement is missing the statement terminator ( &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;; &lt;/span&gt;), the following error message will be shown by compiler during compiling process.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;i&gt;Statement missing;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/05/constant-macro-delimiters-statement.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG2YAx-fxO0Of3S5uX4sxwL35C9GSJpV700IsGkuNIJrDjPTqDJJKhxbJQ7l2ZCq0aolnGqIOD73UEFuOTC-zxdJFAHAx9UEvaiNF22_jJMu2Lskq-h9Ws_102JHY_2US8_t0ewVd1fZE/s72-c/Delimiters.jpg" height="72" width="72"/><thr:total>21</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-8280801477739327171</guid><pubDate>Sun, 20 May 2012 20:08:00 +0000</pubDate><atom:updated>2012-05-21T01:22:08.073+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Errors</category><category domain="http://www.blogger.com/atom/ns#">Logical Error</category><category domain="http://www.blogger.com/atom/ns#">Program Errors</category><category domain="http://www.blogger.com/atom/ns#">Runtime Error</category><category domain="http://www.blogger.com/atom/ns#">Syntax Error</category><category domain="http://www.blogger.com/atom/ns#">Types of Errors</category><title>Types of Errors</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;There are three types of errors that may occur while developing or writing C program. There errors are:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Syntax Errors&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Logical Errors&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Runtime Errors&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Syntax Errors:-&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://rlv.zcache.com/syntax_error_pin_button-p145497774559136526en8go_400.jpg&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The set of rules (grammatical rules) of a programming language for writing statements of the computer program is known as syntax of the language. The program statements are written strictly according to these rules.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Syntax error occur when syntax of a programming language are not followed in writing the source code. The compiler detects these errors at compiling time of source code. The compiler reports a proper error message about the error.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The compiler does not compile a program that contain syntax errors. The&amp;nbsp;syntax&amp;nbsp;errors are easy to detect and remove.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; In C program, there can be many causes of syntax errors. Some&amp;nbsp;examples&amp;nbsp;are given below:-&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Missing semicolon (&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;;&lt;/span&gt;&amp;nbsp;&lt;/b&gt;) at the end of statement.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Missing any of delimiters &amp;nbsp;i.e &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;/b&gt; or &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Incorrect spelling of any keyword.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Using variable without declaration etc.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Logical Errors:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZVCgNprk_RbJRJbbOb0acxqQ0PosaSiNkdM6ylBLNu_2oc75IPrumgmt0Oksm2prbh2ekMD1BvgyZ9z4MfcZVZRCXij0jaCsE5lX4ilrWoqsQTKhzoQ_jgk6pvKULIN0iuGGT6hSQJm8/s1600/error.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZVCgNprk_RbJRJbbOb0acxqQ0PosaSiNkdM6ylBLNu_2oc75IPrumgmt0Oksm2prbh2ekMD1BvgyZ9z4MfcZVZRCXij0jaCsE5lX4ilrWoqsQTKhzoQ_jgk6pvKULIN0iuGGT6hSQJm8/s1600/error.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The errors in the logic of the program are called &lt;/span&gt;&lt;b style=&quot;font-family: Verdana, sans-serif;&quot;&gt;logical error&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;. The compiler cannot detect logical errors. A program with logical errors is compiled (translated) and run successfully but it does not give correct result.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The sequence of instructions used in a program may be incorrect.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The mathematical formulas used in program instructions may be incorrect etc.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The logical errors are difficult to detect. Logical errors can only be detected by examining all the units of the program one by one. It is a very time consuming and lengthy process.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Runtime Errors:-&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://registrycleanersoftware.org/wp-content/uploads/2008/02/runtime-error-message.png&quot; /&gt;&amp;nbsp;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The errors that occur during the execution of program are called the &lt;b&gt;runtime errors&lt;/b&gt;. These types of errors may occur due to the following reasons.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When the program attempts to perform an illegal operation such as dividing a number by zero.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If input data given to the program is not in a correct format or input data file is not found in the specified path.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If hardware problem occurs such as hard disk error, or disk full or printer&amp;nbsp;error&amp;nbsp;etc.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When a runtime error occurs, the computer stops the execution of program and displays an error message.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/05/types-of-errors.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZVCgNprk_RbJRJbbOb0acxqQ0PosaSiNkdM6ylBLNu_2oc75IPrumgmt0Oksm2prbh2ekMD1BvgyZ9z4MfcZVZRCXij0jaCsE5lX4ilrWoqsQTKhzoQ_jgk6pvKULIN0iuGGT6hSQJm8/s72-c/error.jpg" height="72" width="72"/><thr:total>32</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-1885505991625583953</guid><pubDate>Sun, 20 May 2012 13:26:00 +0000</pubDate><atom:updated>2012-05-20T18:26:42.541+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Bugs</category><category domain="http://www.blogger.com/atom/ns#">Debugging</category><category domain="http://www.blogger.com/atom/ns#">Program</category><title>Bugs and Debugging</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Bugs:-&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;150&quot; src=&quot;http://c810422.r22.cf2.rackcdn.com/wp-content/uploads/2010/01/symantec-endpoint-security-bug.jpg&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Different errors may occur in the program. These errors in the program are called Bugs.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Debugging:-&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://www.open-mag.com/features/Vol_81/etnus/gifs/debug_icon.gif&quot; width=&quot;167&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;The process of finding and removing bugs (or errors) in a program is known as debugging.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/05/bugs-and-debugging.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-2170015228705398051</guid><pubDate>Sun, 04 Mar 2012 14:49:00 +0000</pubDate><atom:updated>2012-03-04T19:49:10.662+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C</category><category domain="http://www.blogger.com/atom/ns#">C program</category><category domain="http://www.blogger.com/atom/ns#">Compiling C Program</category><category domain="http://www.blogger.com/atom/ns#">Creating C program</category><category domain="http://www.blogger.com/atom/ns#">Executing C program</category><category domain="http://www.blogger.com/atom/ns#">Linking C Program</category><category domain="http://www.blogger.com/atom/ns#">Loading C program</category><category domain="http://www.blogger.com/atom/ns#">Saving C program</category><title>Preparation of C Program for Execution</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 13.5pt;&quot;&gt;Dear readers,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In this lesson we tell you about the some necessary steps to prepare C program for execution..&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 13.5pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;SO FRIENDS LETS START LESSON&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Some steps which are taken to prepare a C program for execution are :-&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Creating &amp;amp; Editing C Program&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;saving C program&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Compiling C program&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Linking C program&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Loading C program&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Executing C program&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Creating &amp;amp; Executing C program :-&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;The first step is to create and edit the source program in C. The C program is usually and edited in Turbo C editor.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Saving C program :-&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;After writing or editing the source program, it is saved on the disk as text file with an extension &quot;&lt;span style=&quot;color: red;&quot;&gt;.c&lt;/span&gt;&quot;.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Compiling C program :-&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;In this step, the source program is compiled. The source program is converted into machine code. The C compiler is used to translate &amp;nbsp;the C program source code into the machine&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&lt;/span&gt;code.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Linking C program :-&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;In this step, the Linker links object file produced by the compiler to many other library files.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCbD03t1dQVbLhZezmczXr9Cl7PvaHoTB2pYX4yLozCAumSnVcrhuKzX94UbVZ3im-WegnUv8qJAb7uQJcyJJZOHSB1XZ3vSvxSKMDylb7RHCDt29zXJfxU2hCjOOik2K3LofZSMUDm1I/s200/BackLink.jpg&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;&amp;nbsp;After linking the object code &amp;nbsp;to the libraries, an executable file with extension&lt;span style=&quot;color: red;&quot;&gt; EXE&lt;/span&gt; is created.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Loading C program :-&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://www.1minuta.com/wp-content/plugins/light-loading/loading.gif&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In this step the loader loads the executable file from disk into memory for execution. The program must be loaded into memory for execution.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;Executing C program :-&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://icons.iconarchive.com/icons/treetog/junior/256/application-run-icon.png&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;In this step, the program is executed on the computer. The CPU fetches instructions of program from memory one by one and takes action on them.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/03/preparation-of-c-program-for-execution.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCbD03t1dQVbLhZezmczXr9Cl7PvaHoTB2pYX4yLozCAumSnVcrhuKzX94UbVZ3im-WegnUv8qJAb7uQJcyJJZOHSB1XZ3vSvxSKMDylb7RHCDt29zXJfxU2hCjOOik2K3LofZSMUDm1I/s72-c/BackLink.jpg" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-4635459781786086877</guid><pubDate>Mon, 20 Feb 2012 15:29:00 +0000</pubDate><atom:updated>2012-02-20T20:29:42.402+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C</category><category domain="http://www.blogger.com/atom/ns#">C program</category><category domain="http://www.blogger.com/atom/ns#">Executing C program</category><title>Executing C Program</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img src=&quot;http://icons.iconarchive.com/icons/treetog/junior/256/application-run-icon.png&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;Dear readers,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: medium;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;After&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;successfully learn the compiling C program&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;and linking C program lessons. You are now ready to learn how to execute C program on your computer.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;SO FRIENDS LETS START LEARNING&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Executing C program :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The process of running the program on computer is called executing. The program must be loaded into memory for execution. This work is done by the Loader. Loader is a program that loads the executable file from disk into memory.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;For Example :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In Windows environment, when the name of an executable file is double clicked. The Loader loads the file into the computer memory for execution on the CPU.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;In TC Editor, you can compile and run the program by pressing the shortcut key Ctrl+F9 or by selecting Run command from Run menu of Turbo C IDE. The program is first compiled and then run on the computer.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;When the program is run, the program&#39;s output &amp;nbsp;is printed on the screen but not to the IDE window. To see the program&#39;s output, select &quot;User screen&quot; command from the window menu, or press keyboard shortcut Alt + F5. You will see normal DOS screen with program output (if any).&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://i237.photobucket.com/albums/ff263/dharma-putra/CorrectionJournalforErrors.png&quot; width=&quot;169&quot; /&gt; &lt;/div&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Some errors may occur during the execution of the program. These errors are called the execution errors. These errors may halt the system.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/executing-c-program.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-2641062763895213680</guid><pubDate>Sun, 19 Feb 2012 22:08:00 +0000</pubDate><atom:updated>2012-02-20T03:11:17.918+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C</category><category domain="http://www.blogger.com/atom/ns#">C program</category><category domain="http://www.blogger.com/atom/ns#">Linking C Program</category><title>Linking C Program</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMJMtCdEu9jJ0hsKwcfBvX_WPtYt8S9HFOF4BrdUvi0LQCmCfL9g9WiSTo319u8y1_gx2ciBr-C5nCrGFzAenqL845FjYSd68PHJ9w0h4r7ldbaa_wU-XUgkzi4Lj8Ux4yQTOC354jfZA/s1600/123.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMJMtCdEu9jJ0hsKwcfBvX_WPtYt8S9HFOF4BrdUvi0LQCmCfL9g9WiSTo319u8y1_gx2ciBr-C5nCrGFzAenqL845FjYSd68PHJ9w0h4r7ldbaa_wU-XUgkzi4Lj8Ux4yQTOC354jfZA/s320/123.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;Dear readers,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In this post you will learn the method to link a C program....&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;SO FRIENDS LETS START LEARNING&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Linking C program :-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Linking is a process in which the object file produced by the compiler is linked to many other library files. This work is done by the Linker.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://upload.wikimedia.org/wikipedia/commons/thumb/b/b1/Linker.svg/200px-Linker.svg.png&quot; width=&quot;163&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp;The Linker is a program and is a part of compiler. After linking the object code to the libraries, an executable file with extension &lt;span style=&quot;color: red;&quot;&gt;EXE &lt;/span&gt;is created.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;For example :-&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If &amp;nbsp;source file name is &quot;&lt;span style=&quot;color: red;&quot;&gt;test.c&lt;/span&gt;&quot;, then executable file name will be &quot;&lt;span style=&quot;color: red;&quot;&gt;test.exe&lt;/span&gt;&quot;.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In Turbo C&amp;nbsp;environment, program is linked as;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;Select Link command from Compile menu on the menu bar.&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://portsidemarketing.com/wp-content/uploads/2012/02/links.jpg&quot; width=&quot;195&quot; /&gt;&amp;nbsp;&lt;/div&gt;&lt;b style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;In Turbo C IDE, compiling and linking can be performed together in one step. To do this, select Make command from Compile manu or press F9 key. The linker can also detect errors.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;186&quot; src=&quot;http://www.platformnation.com/wp-content/uploads/2011/10/497px-Error.svg_.png&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For Example :-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;If the source code uses a library function that does bot exist, the linker generates an error. If there is any error in the source code, the Linker will not create the executable file.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp;In this case, the errors are removed from the source code and source code is compiled again. The new object file is then linked to the libraries to create the executable file. The file directly dun on the computer.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/linking-c-program.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMJMtCdEu9jJ0hsKwcfBvX_WPtYt8S9HFOF4BrdUvi0LQCmCfL9g9WiSTo319u8y1_gx2ciBr-C5nCrGFzAenqL845FjYSd68PHJ9w0h4r7ldbaa_wU-XUgkzi4Lj8Ux4yQTOC354jfZA/s72-c/123.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-817906475455233547</guid><pubDate>Sun, 19 Feb 2012 20:26:00 +0000</pubDate><atom:updated>2012-02-20T01:26:41.232+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Compiling C Program</category><title>Compiling C Program</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;217&quot; src=&quot;http://www.rw-designer.com/rsrc/cpvi-example.png&quot; width=&quot;320&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;Dear readers,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In this lesson we tell you how to compile C Program ?....&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;SO FRIENDS LETS START LEARNING&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Compiling C Program :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; You write the source code of the program by following rules of the programming language (i.e. C language).&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;img height=&quot;100&quot; src=&quot;http://scifimafia.com/wp-content/uploads/2010/11/Source-Code-Logo-2Wide-560x282.jpg&quot; width=&quot;200&quot; /&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;b style=&quot;font-family: Candara, sans-serif; font-size: 19px;&quot;&gt;&amp;nbsp;The source Code is not understandable by the computer. The source code must be translated into machine code before running on the computer. The process of translating source code into machine code is called compiling.&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: right;&quot;&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The C compiler is used to translate the C program source code into the machine code. The translated code is called object code.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;133&quot; src=&quot;http://undergroundchurch.files.wordpress.com/2010/06/binary.jpg&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp;when C compiler translates the source code, a new file created for object code with extension &quot;obj&quot;. The&amp;nbsp;first&amp;nbsp;part of the name of object file is same as that of source file.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;For Example :-&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;If source file name is &quot;&lt;span style=&quot;color: red;&quot;&gt;test.c&lt;/span&gt;&quot;, then object file name will be &quot;&lt;span style=&quot;color: red;&quot;&gt;test.obj&lt;/span&gt;&quot;.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To complete the C program source code into object code in Turbo C IDE, follow these steps.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Press Shortcut Alt+F9&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OR&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Select Compile command from compile of menu bar.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;If there is no error in the source code, it will be translated to object code&amp;nbsp;successfully. If there are errors in the source code, compiler will not compile the source code and will report about the errors in the source code. All errors must be removed from the source code before creating the object code of the source code.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/compiling-c-program.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-8468851529878934747</guid><pubDate>Sun, 19 Feb 2012 15:46:00 +0000</pubDate><atom:updated>2012-02-19T20:52:01.290+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C program</category><category domain="http://www.blogger.com/atom/ns#">Creating C program</category><category domain="http://www.blogger.com/atom/ns#">Editing C program</category><category domain="http://www.blogger.com/atom/ns#">Saving C program</category><title>Creating, Editing and Saving C program</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img alt=&quot;128 x 128 black c gif icon image&quot; height=&quot;200&quot; src=&quot;http://www.tutorialsscripts.com/free-icons/programming-language/c-icons/black-c-language-icon-128-x-128.gif&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;Dear Readers,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In this lesson following topics are covered...&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Creating C Program&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Editing C Program&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Saving C Program&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: red; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b style=&quot;font-size: 19px;&quot;&gt;SO FRIENDS LETS START OUR LESSON&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;You can write, edit and save a C program in any text editor program. But Turbo C provides a complete IDE for this purpose. You can easily write, edit and save C program in TC editor.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Creating C Program :-&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;img height=&quot;118&quot; src=&quot;http://www.year-network.eu/images/create_logo_v2.png&quot; width=&quot;200&quot; /&gt; &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The process of writing a new C program by following the rules of C language is called creating a C program. To write a new C program, load the TC editor and type the source code of program.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Editing C Program :-&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/ul&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://icons.iconarchive.com/icons/custom-icon-design/office/256/edit-icon.png&quot; width=&quot;200&quot; /&gt;&amp;nbsp;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; You can also make changes during writing new programs as well as in the exiting C program. Therefore, the process of writing, changing and revising the source code is called editing program.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Saving C Program :-&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/ul&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://www.comparestoreprices.co.uk/images/su/suck-uk-save-money-box.jpg&quot; width=&quot;200&quot; /&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; After writing or editing the source program, you should save it on the disk as text file with an extension &quot; &lt;span style=&quot;color: red;&quot;&gt;.c&lt;/span&gt; &quot;. This process is called saving the program.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To save source code in TC editor, follow these steps.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Select Save command from file menu or press F2 key. A dialog box will appear. The default file name of source code is &lt;span style=&quot;color: red;&quot;&gt;NONAME00.C&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;Type the name of file such as &quot;first.c&quot; and press Enter key. You can also select a specific folder (or location). where you want to save the file. Turbo C editor automatically assigns the file extension as &quot; &lt;span style=&quot;color: red;&quot;&gt;.c&lt;/span&gt; &quot;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Note:-&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;You can also compiler and run C program in Turbo C IDE without saving it first but it is not a good practice. You must save the program before compiling and executing it. It is because sometimes your program may be hanged during execution and your source program code may be erased from the main memory.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/creating-editing-and-saving-c-program.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-2517680748222810555</guid><pubDate>Sat, 18 Feb 2012 21:19:00 +0000</pubDate><atom:updated>2012-02-19T02:25:11.910+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Installing Turbo C</category><category domain="http://www.blogger.com/atom/ns#">Turbo C</category><title>Installing Turbo C</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://www.deviantart.com/download/77775550/Turbo_C_Dock_Icon_by_meluvh.png&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;Dear Members,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In this lesson we tell you How to install Turbo C Editor? and setting up directories ...&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;SO FRIENDS LETS START OUR LESSON&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;Installing Turbo C :-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Turbo C compiler is commonly available on&amp;nbsp;CD&#39;s. When you install the Turbo C compiler, the TC directory is created on the hard disk and various&amp;nbsp;sub directories&amp;nbsp;such as INCLUDE, and LIB etc. are created under TC.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;INCLUDE :- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;Contains the header files of C.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;LIB :- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;Contains the library files of C.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;When Turbo C is installed, the above mentioned directory structure is automatically created and their respective files are copied into them.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: right;&quot;&gt;&lt;a href=&quot;http://images.all-free-download.com/images/graphiclarge/turbo_c_4894.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://images.all-free-download.com/images/graphiclarge/turbo_c_4894.jpg&quot; style=&quot;text-align: left;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;img height=&quot;200&quot; src=&quot;http://images.all-free-download.com/images/graphiclarge/turbo_c_4894.jpg&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The installing process of Turbo C is very easy. It provides &quot;install&quot; program used to install the Turbo C compiler. Simply, run the install program and follow the instructions such as ; the directory name and path where you want to install the system (Turbo C compiler). By default, directory name is TC on the root of drive C.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Setting Up Directories :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;By default, the source files, object files and executable files are stored in the current directory (or TC directory). You can set specific directory paths to store source files and output files (i.e. object and executable files).&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To set the directory path, follow these steps.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Select &quot;Directories&quot; from &quot;options&quot; menu of Turbo C editor, a window will appear as shown below&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;font-family: Candara, sans-serif; font-size: 19px;&quot;&gt;.&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://doctorak47.com/wp-content/uploads/2011/10/Untitled1.png&quot; /&gt;&amp;nbsp;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Set the path of header files in the &quot;include Directories&quot; field such as &quot; &lt;span style=&quot;color: red;&quot;&gt;C:\TC\INCLUDE&lt;/span&gt;&quot;.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Set the path of library files in the &quot;Library Directories&quot; field such as &quot; &lt;span style=&quot;color: red;&quot;&gt;C:\TC\LIB&lt;/span&gt; &quot;.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;In &quot;Output Directory&quot;, the compiler stores the object files and linker stores the &#39;exe&#39; files. Set the path for output files.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;In &quot;Source Directories&quot;, the source files are stored. Set the path for source files.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/installing-turbo-c.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-1283963981713003794</guid><pubDate>Sun, 12 Feb 2012 00:05:00 +0000</pubDate><atom:updated>2012-02-19T02:25:47.115+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">TC interface</category><category domain="http://www.blogger.com/atom/ns#">Turbo C Editor</category><title>Turbo C Interface</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img src=&quot;http://www.deviantart.com/download/77775550/Turbo_C_Dock_Icon_by_meluvh.png&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;Dear Visitors,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In this post we give you knowledge about Turbo C Editor. Please note that Turbo C is a most common C language compiler. This lesson helps you to know about its interface its&amp;nbsp;using&amp;nbsp;and its functions....&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;SO FRIENDS LETS START OUR LESSON&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;192&quot; src=&quot;http://elearning.algonquincollege.com/coursemat/pincka/dat2219d.w03/cref/cref12c.gif&quot; width=&quot;320&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Turbo C Editor :-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The interface of Turbo C is very simple. When IDE screen appears, the menu bar is activated. It contains various menus such as:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;File :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This menu contains group of commands used for saving program, operating existing program, printing source code of program, exiting from Turbo C editor etc.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Edit :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This menu contains group of commands used for editing C program source code. The important editing commands are:-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Copy, Cut, Paste, Undo etc.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Search :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This menu contains group of commands used for searching specific word as well as&amp;nbsp;replacing it with another one.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Run :-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;b style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This menu contains group of commands used for running C program.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Compile :-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;b style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This menu contains group of commands used for compiling C program.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Debug :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This menu contains group of commands used for debugging C program.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Project :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;This menu contains group of commands used for opening, closing and creating projects.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Options :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This menu contains group of commands used for configuring IDE of Turbo C and setting up directories etc.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Windows :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This menu contains group of commands used for opening, closing various windows of IDE.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Help :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;This menu is used to get help about specific topic of C language, You can also get help by pressing &amp;nbsp;F1 key. Similarly to get help about a specific keyword or identifier of C, type a word, keep cursor on the word and press keyboard shortcut Ctrl + F1.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/turbo-c-editor.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-354102405568019458</guid><pubDate>Fri, 10 Feb 2012 07:00:00 +0000</pubDate><atom:updated>2012-02-10T14:55:09.468+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">TC Editor</category><category domain="http://www.blogger.com/atom/ns#">Turbo C</category><title>TC Editor</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://www.deviantart.com/download/77775550/Turbo_C_Dock_Icon_by_meluvh.png&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;Dear Members,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In this post you will learn about TC Editor and its uses...&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;SO FRIENDS LETS START LESSON&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;TC Editor :-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;In addition to a compiler, Turbo C or TC provides a complete IDE to create, edit, save, compile and run C programs. It is called the TC Editor. The C compiler is linked with TC Editor. This type of editor is also called &lt;span style=&quot;color: red;&quot;&gt;linkage editor&lt;/span&gt;.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TC editor also provides a powerful debugging feature. This means that it helps to detect and remove&amp;nbsp;errors&amp;nbsp;in the C program.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Once Turbo C compiler is installed. It is very easy to write,compile and execute C programs, Turbo C editor has an executable file &quot;&lt;span style=&quot;color: blue;&quot;&gt;TC.EXE&lt;/span&gt;&quot;. By default, it is in &quot;TC&quot; directory in C drive. When the file is executed, the IDE of Turbo C editor is displayed on the screen along with development tools.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;To load Turbo C editor, follows these steps :-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;Go to DOS prompt. By default, it will appear as:&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;C:\Windows&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Change the directory to TC by applying command;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;C:\Windows&amp;gt; CD\TC&lt;/span&gt; &amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;[press Enter Key]&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Type TC and press Enter Key. The turbo C editor is started and IDE appears on the screen as shown below.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/ul&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;img height=&quot;198&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-ZSvfOz7bq9ub363Bg2ofxwnlNp4g48ntWrYs9THbAJiMBXWXEpGtCo1WjfqK19ftbx0ARPXerKdxXmjD10RjbpBKdnSAum_Xx0n5h6dzbf6OrS2lhYIcDN_nERWW3Bkjn2b1565x6ZjT/s320/run-turboc-fullscreen-mode-in-windows-7.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Note :-&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;Today, in most computers Turbo C++ compiler is installed. If Turbo C++ compiler is installed in your computer, then the path of &lt;span style=&quot;color: red;&quot;&gt;TC.EXE &lt;/span&gt;is:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;C:\TC\BIN&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/tc-editor.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-ZSvfOz7bq9ub363Bg2ofxwnlNp4g48ntWrYs9THbAJiMBXWXEpGtCo1WjfqK19ftbx0ARPXerKdxXmjD10RjbpBKdnSAum_Xx0n5h6dzbf6OrS2lhYIcDN_nERWW3Bkjn2b1565x6ZjT/s72-c/run-turboc-fullscreen-mode-in-windows-7.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-9068835763422798218</guid><pubDate>Thu, 09 Feb 2012 18:34:00 +0000</pubDate><atom:updated>2012-02-09T23:34:41.743+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C compiler</category><category domain="http://www.blogger.com/atom/ns#">IDE</category><title>C compiler &amp; IDE</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;Dear Members,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In this post we will tell you about the &lt;span style=&quot;color: red;&quot;&gt;Compiler of C Language&lt;/span&gt; and its importance also tell you about &lt;span style=&quot;color: red;&quot;&gt;IDE&lt;/span&gt;...&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;SO FRIENDS LETS START OUR LESSON&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Compiler of C Language :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Every High Level language has its own translator program. It is used to translate the source code into machine code. C language also has its own translator program called &lt;span style=&quot;color: red;&quot;&gt;C compiler&lt;/span&gt;.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://www.deviantart.com/download/77775550/Turbo_C_Dock_Icon_by_meluvh.png&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp;You must install C compiler into your Computer for compiling the C program. Many C compilers are available. The Most popular and commonly used C compiler is &lt;span style=&quot;color: red;&quot;&gt;Turbo C&lt;/span&gt;.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Note :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;You can also translate C program with C++ compiler.&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&quot;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;IDE :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;192&quot; src=&quot;http://elearning.algonquincollege.com/coursemat/pincka/dat2219d.w03/cref/cref12c.gif&quot; width=&quot;320&quot; /&gt;&amp;nbsp;&lt;/div&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue; font-size: 19px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue; font-size: 19px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;IDE&lt;/span&gt;&lt;span style=&quot;color: red; font-size: 19px;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;stands for &lt;span style=&quot;color: blue;&quot;&gt;Integrated Development&amp;nbsp;Environment&lt;/span&gt;. The environment in which a computer&amp;nbsp;program is written, compiled, executed, tested and debugged is called &lt;span style=&quot;color: red;&quot;&gt;Integrated Development Environment&lt;/span&gt;.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/c-compiler-ide.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-2186852461116373989</guid><pubDate>Thu, 09 Feb 2012 14:13:00 +0000</pubDate><atom:updated>2012-02-09T23:00:04.356+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C program Errors</category><title>C Program Errors</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://www.iphone4jailbreaks.com/wp-content/uploads/2011/09/error2.png&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;Dear Members,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;&lt;span style=&quot;color: red;&quot;&gt;Today we share with you an important lesson&lt;/span&gt;&quot;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;In this lesson we tell you about those errors which can be made by every beginner programmer at that time when they write C program.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: right;&quot;&gt;&lt;img height=&quot;196&quot; src=&quot;http://windows7supportnow.com/wp-content/uploads/2011/10/2.jpg&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In this post we tell you that what happen if you made these mistakes during writing C program&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;SO FRIENDS LETS START LESSON&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: blue; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;ERROR No 1).&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Leave &amp;nbsp;#include&amp;lt;stdio.h&amp;gt; :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;b style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt; &amp;nbsp; &amp;nbsp; #include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: #134f5c; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int main(void)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: #134f5c; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;{&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: #134f5c; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;My first Program in C&quot;);&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: #134f5c; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A header file must be included at the beginning of the program. If its functions are to be used in the program. In the above program, the printf() function is used to print the message. It is part of header file &quot;&lt;span style=&quot;color: red;&quot;&gt;stdio.h&lt;/span&gt;&quot;. When you leave out the &lt;span style=&quot;color: red;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt; line from the program given above, the C compiler displays an error message as shown below:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&#39;&#39;&lt;span style=&quot;color: red;&quot;&gt;Function &#39;printf&#39; should have a prototype&lt;/span&gt;&#39;&#39;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: blue; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;ERROR No 2).&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Leave Semicolon :-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://graphics8.nytimes.com/images/2008/02/14/nyregion/15semicolon.151.jpg&quot; width=&quot;166&quot; /&gt;&amp;nbsp;&lt;/div&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Each statement in C ends with a semicolon (;). If you leave out the semicolon at the end of the printf() statement, an error message occurs as shown below.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: red; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Statement Missing ;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Hope this lesson is really helpful for you. If you like this lesson don&#39;t forget to make a comment on it.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Thanks for your time.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/c-program-errors.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-956582944024450815</guid><pubDate>Thu, 09 Feb 2012 11:31:00 +0000</pubDate><atom:updated>2012-02-09T16:31:55.690+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C program Statements</category><title>C program Statements</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;img height=&quot;181&quot; src=&quot;http://www.w3resource.com/c-programming/format-of-c-programming.gif&quot; width=&quot;400&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;Dear Members,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Today we will discuss about C program statements and also give you some examples....&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;SO FRIEND LETS START OUR LESSON&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: Candara, sans-serif; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;C program Statements:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;A program statement is a fundamental unit of any programming language. It is an instruction for the computer to do something. The set of statements of C program are written under the main() function (or any user defined function) between curly brackets i.e &lt;span style=&quot;color: red;&quot;&gt;{&lt;/span&gt; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;}&lt;/span&gt;. Typically, in C program, the library functions are called for execution in the main body of the program.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;For Example:-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&amp;nbsp; &amp;nbsp;The printf() function is used to print a message or output of the program. Every statement of C program must be terminated with semicolon (;). It is called &lt;span style=&quot;color: red;&quot;&gt;statement terminator&lt;/span&gt;. If statement terminator (;) is missing at the end of any statement, then the following error message will be reported by C compiler during compiling process.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;i&gt;Statement Missing&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;C language is a case sensitive language. Each statement of C program is normally written in lowercase letters. However, variable names or user-defined function names with uppercase letters can be used in C program.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;img height=&quot;200&quot; src=&quot;http://www.tutorialsscripts.com/free-icons/programming-language/c-icons/blue-c-language-icon-256-x-256.gif&quot; width=&quot;200&quot; /&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C program is written below to clear the computer screen and to print a message on the screen.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Candara, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #include&amp;lt;conio.h&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b style=&quot;font-family: Candara, sans-serif; font-size: 19px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; main()&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b style=&quot;font-family: Candara, sans-serif; font-size: 19px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;{&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b style=&quot;font-family: Candara, sans-serif; font-size: 19px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clrscr();&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b style=&quot;font-family: Candara, sans-serif; font-size: 19px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Welcome&quot;);&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;&quot;&gt;&lt;b style=&quot;font-family: Candara, sans-serif; font-size: 19px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;b style=&quot;font-family: Candara, sans-serif; font-size: 19px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: left;&quot;&gt;&lt;b style=&quot;font-family: Candara, sans-serif; font-size: 19px;&quot;&gt;In the above program, two statements are written in the body of main() function. Each statement ends with semicolon &lt;span style=&quot;color: red;&quot;&gt;( ; )&lt;/span&gt;.&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/c-program-statements.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-2867610852868296940</guid><pubDate>Mon, 06 Feb 2012 21:42:00 +0000</pubDate><atom:updated>2012-02-07T02:42:31.920+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Main Function</category><title>Main() Function</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.w3resource.com/c-programming/format-of-c-programming.gif&quot; /&gt; &lt;/div&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Dear Visitors,&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In this lesson you will learn about main() function of a program and also their uses in C....&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: red; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;SO FRIENDS LETS START OUR LESSON&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;Main() Function:-&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;The main() function indicates the beginning of the actual C program. It is the point at which execution of program is started. When a C program is executed, the execution control goes directly to the main() function.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Every C program must have the main() function. The main() function comes after the preprocessor directives.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The general syntax of main() function is:&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;span style=&quot;color: red;&quot;&gt;void main(void)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Body of main() function&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;In the above syntax:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;http://www.cypherbox.net/thumbs/img_903.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://www.cypherbox.net/thumbs/img_903.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;1).&lt;/span&gt; The keyword &lt;span style=&quot;color: red;&quot;&gt;&#39;void&#39; &lt;/span&gt;is used before main() function. It indicates the data type of the value that is returned by the main() function. By definition, a function may accept one or more parameters and returns a single value.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The program is executed with in an operating system (e.g, DOS). At the end of program execution, the main() function can return a value to the operating system. The &lt;span style=&quot;color: red;&quot;&gt;&#39;void&#39; &lt;/span&gt;means that program will not return any value to the operating system after its execution.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; You can use &lt;span style=&quot;color: red;&quot;&gt;&quot;int&quot; &lt;/span&gt;in place of &lt;span style=&quot;color: red;&quot;&gt;&#39;void&#39;&lt;/span&gt;. In this case, program will return an integer value. The operating system uses this value to determine whether the program is executed successfully or not.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;2). &lt;/span&gt;The keyword &#39;void&#39; used within brackets after the main() function indicates that program takes no parameters when program is executed from command line (i.e. DOS prompt).&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;Note:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The use of &#39;void&#39; or &#39;int&#39; before the main() function are the main body of the main() function are optional.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;3). &lt;/span&gt;The statements written under the main() function are the main body of the main() function. The body of the main() function is enclosed in braces ( or curly brackets { } ). These braces are called delimiters. The left brace indicates the start of the body of the function. whereas the matching right brace indicates the end of the body of the function.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/main-function.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-3748613721547135038</guid><pubDate>Sun, 05 Feb 2012 09:08:00 +0000</pubDate><atom:updated>2012-02-05T14:10:02.947+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Header Files</category><title>Header Files</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;288&quot; src=&quot;http://cocoadevcentral.com/images/articles/000081-libraries.png&quot; width=&quot;320&quot; /&gt; &lt;/div&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Dear Visitors,&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In this post you will learn about the &lt;span style=&quot;color: red;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Header Files&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39; &lt;/span&gt;and their uses in C program.....&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: red; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;SO FRIENDS LETS START OUR LESSON&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;Header Files:-&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;The header files contain the declarations or information of standard library functions. These functions are called in the main body of the program to perform different tasks. The extension of a header file is &quot;&lt;span style=&quot;color: red;&quot;&gt;.h&lt;/span&gt;&quot;.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In C language, there are many header files. Each header file contains information (or declarations) for a particular group of functions.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;For Example:-&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; The header file &quot;&lt;span style=&quot;color: red;&quot;&gt;math.h&lt;/span&gt;&quot; contains declarations of mathematical functions available in C.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A header file must be included at the beginning of the program, it its functions are to be used in the program. A program may contain many header files.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp;The &quot;&lt;span style=&quot;color: red;&quot;&gt;include&lt;/span&gt;&quot; directive is used to include the header file into the program. The name of header file is written between angle brackets &lt;span style=&quot;color: red;&quot;&gt;&amp;lt; &amp;gt; &lt;/span&gt;or in double quotes.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #45818e;&quot;&gt;The general syntax to include a header file at the beginning of C program is:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;#include&amp;lt;name of header file&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: red; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;For Example:-&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To include header file &#39;&lt;span style=&quot;color: red;&quot;&gt;stdio.h&lt;/span&gt;&#39; and &#39;&lt;span style=&quot;color: red;&quot;&gt;conio.h&lt;/span&gt;&#39; in the program the statements (preprocessor directives) are written as:-&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In most C programs, header file &quot;&lt;span style=&quot;color: red;&quot;&gt;stdio.h&lt;/span&gt;&quot; is used. The word &#39;&#39;&lt;span style=&quot;color: red;&quot;&gt;stdio&lt;/span&gt;&quot; stands for standard input or output. This file contains the declarations of standard input and output functions. These functions are used to get input and to print output. Similarly, &#39;&#39;&lt;span style=&quot;color: red;&quot;&gt;conio.h&lt;/span&gt;&quot; header file is included to use its functions &quot;&lt;span style=&quot;color: red;&quot;&gt;clrscr()&lt;/span&gt;&quot;. The &quot;&lt;span style=&quot;color: red;&quot;&gt;clrscr()&lt;/span&gt;&quot; function is used to clear the screen of monitor.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/header-files.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-4456093096779700942</guid><pubDate>Sat, 04 Feb 2012 20:19:00 +0000</pubDate><atom:updated>2012-02-05T01:20:55.921+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Define Directive</category><title>Define Directive</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Dear Visitors,&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In earlier post we tell you about the &lt;span style=&quot;color: red;&quot;&gt;include directive.....&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Today we are going to share with you knowledge about &lt;span style=&quot;color: red;&quot;&gt;define directive.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;SO FRIENDS LETS START OUR LESSON&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;The &#39;define&#39; directive:-&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;The &lt;span style=&quot;color: red;&quot;&gt;&#39;&lt;/span&gt;define&lt;span style=&quot;color: red;&quot;&gt;&#39; &lt;/span&gt;directive is another important preprocessor directive. It is used to define a constant known as &lt;span style=&quot;color: red;&quot;&gt;constant macro&lt;/span&gt;. A constant macro is an identifier, which is assigned a particular constant value. The value of identifier remains constant during the execution of program. Its general syntax is:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;#include identifier expression&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Where&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;Identifier:-&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;Specifies the identifier (or macro name) to which the constant value is to be assigned.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: #134f5c; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Expression:-&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;Specified the constant value that is to be assigned to the identifier. It may be a constant value, a string or an arithmetic expression.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;For Example:-&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;In the following statements, PI has been assigned value 3.141593 and &#39;city&#39; is assigned value Islamabad.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;#define PI 3.141593&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;#define city Islamabad&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/define-directive.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7528639044802311173.post-4652294140358830928</guid><pubDate>Sat, 04 Feb 2012 09:56:00 +0000</pubDate><atom:updated>2012-02-04T22:36:13.690+05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Include Directive</category><title>Include Directive</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&lt;img height=&quot;183&quot; src=&quot;http://www.wholetomato.com/products/features/images/SuggestInclude.png&quot; width=&quot;320&quot; /&gt; &lt;/div&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Dear Visitors,&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; As you learn in our previous post that the most important preprocessor Directives are:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Include directive&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;define directive&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Today we will share with you knowledge related to &lt;span style=&quot;color: red;&quot;&gt;include directive&lt;/span&gt;......&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;SO FRIENDS LETS START OUR LESSON&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: #134f5c; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;The &#39;include&#39; Directive:-&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;The &#39;include&#39; directive is used to include the specified header file in the program. It means that this preprocessor directive tells the preprocessor to insert the definitions of standard functions (used in the program) into C program from a standard library.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The general syntax of &lt;span style=&quot;color: red;&quot;&gt;&quot;&lt;/span&gt;include&lt;span style=&quot;color: red;&quot;&gt;&quot;&lt;/span&gt; directive to include standard header file is:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;#include&amp;lt;name of header file&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;For Example:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;To include header file &quot;stdio.h&quot; in the program, the preprocessor directive is written as:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;The above preprocessor directive tells the compiler to include header file &lt;span style=&quot;color: red;&quot;&gt;&quot;stdio.h&quot;&lt;/span&gt;. This header file contains the information about standard input and output functions. The scan() and printf() functions are the most commonly used input and output functions.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cprogramming007.blogspot.com/2012/02/include-directive.html</link><author>noreply@blogger.com (SoftAir Technologies)</author><thr:total>0</thr:total></item></channel></rss>