<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
   <channel>
    <atom:link href="http://sahaya.webnode.com/rss/tips-tricks.xml" rel="self" type="application/rss+xml" />
      <title>Tips &amp; Tricks - sahaya.webnode.com</title>
      <link>http://sahaya.webnode.com</link>
      <description></description>
      <language>en</language>
      <pubDate>Mon, 28 Jul 2008 14:54:00 +0200</pubDate>
      <lastBuildDate>Mon, 28 Jul 2008 14:54:00 +0200</lastBuildDate>
      <category>Tips &amp; Tricks</category> 
      <docs>http://blogs.law.harvard.edu/tech/rss</docs>
      <generator>Rubicus v2.0</generator>
      <managingEditor><![CDATA[npoke2@gmail.com (npoke2@gmail.com)]]></managingEditor>
      <webMaster><![CDATA[npoke2@gmail.com (npoke2@gmail.com)]]></webMaster>
      <item>
         <title>The Reasons behind to return an int from main()</title>
         <link>http://sahaya.webnode.com/news/the-reasons-behind-to-return-an-int-from-main/</link>
         <description><![CDATA[On many operating systems, the value returned by main() is       used to return an exit status to the environment. On Unix,       MS-DOS, and Windows systems, the low eight bits of the       value returned by main() is passed to the command shell or       calling program. This is often used to change the course of       a program, batch file, or shell script.
Many compilers will refuse to compile a source code file       containing a definition of main() which does not return an       int.
On...]]></description>
         <pubDate>Mon, 28 Jul 2008 14:54:00 +0200</pubDate>
         <guid isPermaLink="true">http://sahaya.webnode.com/news/the-reasons-behind-to-return-an-int-from-main/</guid>
         <category>Tips &amp; Tricks</category>
      </item>
      <item>
         <title>Naming the variable is important</title>
         <link>http://sahaya.webnode.com/news/naming-variable-is-important/</link>
         <description><![CDATA[&#160;
We must take special care while naming the variable else it will lead to mystification.
Let us consider the following two code snippets
Code 1:
int main()
{
           int i=3,j=5,k=0;
            k = i*j;
            printf(“area of rectangle = %d”,k);
           return 0;
}
Code 2:
int main()
{
            int base=3,height=5, rect_area=0;
            rect_area = base*height;
            printf(“area of rectangle = %d”,rect_area);
           return 0;
}
&#160;
The above two programs...]]></description>
         <pubDate>Fri, 06 Jun 2008 13:46:00 +0200</pubDate>
         <guid isPermaLink="true">http://sahaya.webnode.com/news/naming-variable-is-important/</guid>
         <category>Tips &amp; Tricks</category>
      </item>
      <item>
         <title>Don’t forget to initialize variable</title>
         <link>http://sahaya.webnode.com/news/dont-forget-to-initialize-variable/</link>
         <description><![CDATA[&#160;
&#160;
It is a better practice to initialize the variables before using them especially in pointers and in global variable cases. Otherwise this may lead to weird memory errors like memory fault or some capricious errors that are hard to trace.]]></description>
         <pubDate>Fri, 06 Jun 2008 13:27:00 +0200</pubDate>
         <guid isPermaLink="true">http://sahaya.webnode.com/news/dont-forget-to-initialize-variable/</guid>
         <category>Tips &amp; Tricks</category>
      </item>
      <item>
         <title>First step before start coding</title>
         <link>http://sahaya.webnode.com/news/first-step-before-start-coding/</link>
         <description><![CDATA[&#160;
It is strongly recommended, that always do some paper work to design your solutions for the given problems. This approach will eliminate number of bugs that appear at the initial stage. It indeed plays a vital role when you writing a programme that contains more than 100 lines]]></description>
         <pubDate>Fri, 06 Jun 2008 13:09:00 +0200</pubDate>
         <guid isPermaLink="true">http://sahaya.webnode.com/news/first-step-before-start-coding/</guid>
         <category>Tips &amp; Tricks</category>
      </item>
   </channel>
</rss>