<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 10 Challenging char pattern programs</title>
	<atom:link href="http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html</link>
	<description>Your mantra to job success</description>
	<lastBuildDate>Fri, 10 Feb 2012 11:11:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Prashanth kumar</title>
		<link>http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html/comment-page-1#comment-27879</link>
		<dc:creator>Prashanth kumar</dc:creator>
		<pubDate>Sat, 04 Feb 2012 06:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.interviewmantra.net/?p=652#comment-27879</guid>
		<description>Give me a pattern for this 

ABCDEFGHIJKLMNOPQRSTUVWXYZ
BCDEFGHIJKLMNOPQRSTUVWXYZA
CDEFGHIJKLMNOPQRSTUVWXYZAB
DEFGHIJKLMNOPQRSTUVWXYZABC
EFGHIJKLMNOPQRSTUVWXYZABCD
FGHIJKLMNOPQRSTUVWXYZABCDE
GHIJKLMNOPQRSTUVWXYZABCDEF  
and so on ....... ..........</description>
		<content:encoded><![CDATA[<p>Give me a pattern for this </p>
<p>ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
BCDEFGHIJKLMNOPQRSTUVWXYZA<br />
CDEFGHIJKLMNOPQRSTUVWXYZAB<br />
DEFGHIJKLMNOPQRSTUVWXYZABC<br />
EFGHIJKLMNOPQRSTUVWXYZABCD<br />
FGHIJKLMNOPQRSTUVWXYZABCDE<br />
GHIJKLMNOPQRSTUVWXYZABCDEF  <br />
and so on &#8230;&#8230;. &#8230;&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sriram</title>
		<link>http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html/comment-page-1#comment-27877</link>
		<dc:creator>Sriram</dc:creator>
		<pubDate>Thu, 02 Feb 2012 09:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.interviewmantra.net/?p=652#comment-27877</guid>
		<description>#include
int main()
{for(i=5;i&gt;=1;i--)
{
for(j=1;j&lt;i;j++)
{
printf(&quot;*&quot;);
}
printf(&quot;n&quot;);
}
return 0;
}</description>
		<content:encoded><![CDATA[<p>#include<br />
int main()<br />
{for(i=5;i&gt;=1;i&#8211;)<br />
{<br />
for(j=1;j&lt;i;j++)<br />
{<br />
printf(&quot;*&quot;);<br />
}<br />
printf(&quot;n&quot;);<br />
}<br />
return 0;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajitem Sahasrabuddhe</title>
		<link>http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html/comment-page-1#comment-27843</link>
		<dc:creator>Ajitem Sahasrabuddhe</dc:creator>
		<pubDate>Sun, 15 Jan 2012 15:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.interviewmantra.net/?p=652#comment-27843</guid>
		<description>Alternate Code for Program #9

#include #include #include int main(){    char pattern = &#039;X&#039;;    int i;    for (i = 1; i &lt;= 9; i++)    {        if(i = 6)        {            printf(&quot;%*.*c%*.*cn&quot;,10-i,2,pattern,(2*i)-10,2,pattern);        }    }    getch();    return (EXIT_SUCCESS);}</description>
		<content:encoded><![CDATA[<p>Alternate Code for Program #9</p>
<p>#include #include #include int main(){    char pattern = &#8216;X&#8217;;    int i;    for (i = 1; i &lt;= 9; i++)    {        if(i = 6)        {            printf(&#8220;%*.*c%*.*cn&#8221;,10-i,2,pattern,(2*i)-10,2,pattern);        }    }    getch();    return (EXIT_SUCCESS);}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajitem Sahasrabuddhe</title>
		<link>http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html/comment-page-1#comment-27841</link>
		<dc:creator>Ajitem Sahasrabuddhe</dc:creator>
		<pubDate>Sat, 14 Jan 2012 18:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.interviewmantra.net/?p=652#comment-27841</guid>
		<description>Hello,

First of all, I would like to congratulate you for all the hard work and effort put forth in building this website. I am sure, many people like me having a passion for C Language found this site very useful.

I would just like to contribute to the effort made by you. I have come-up with a shorter solution for Program #6. The method used here is simple but long. My method is a little complicated but people comfortable with pointers would find it a lot easier.

#include #include #include int main(){    char pattern[] = &quot;A B C D E D C B A&quot;;    int i,pos = 0;    for (i = 0; i &lt; 9; i++)    {        printf(&quot;%sn&quot;, pattern);        if (i &lt; 4)        {            *(pattern + 8 - pos) = &#039; &#039;;            *(pattern + 8 + pos) = &#039; &#039;;            pos+=2;        }        else        {            pos-=2;            *(pattern + 8 - pos) = *(pattern + 8 - (2+pos)) + 1;            *(pattern + 8 + pos) = *(pattern + 8 - (2+pos)) + 1;        }    }    getch();    return (EXIT_SUCCESS);}

This program was successfully executed to print the desired pattern using GCC 3.4.5 (mingw special) using NetBeans 7.0.1 IDE on Windows 7 x64.

Regards,
Ajitem Sahasrabuddhe
bZk@live.in</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>First of all, I would like to congratulate you for all the hard work and effort put forth in building this website. I am sure, many people like me having a passion for C Language found this site very useful.</p>
<p>I would just like to contribute to the effort made by you. I have come-up with a shorter solution for Program #6. The method used here is simple but long. My method is a little complicated but people comfortable with pointers would find it a lot easier.</p>
<p>#include #include #include int main(){    char pattern[] = &#8220;A B C D E D C B A&#8221;;    int i,pos = 0;    for (i = 0; i &lt; 9; i++)    {        printf(&quot;%sn&quot;, pattern);        if (i &lt; 4)        {            *(pattern + 8 &#8211; pos) = &#039; &#039;;            *(pattern + 8 + pos) = &#039; &#039;;            pos+=2;        }        else        {            pos-=2;            *(pattern + 8 &#8211; pos) = *(pattern + 8 &#8211; (2+pos)) + 1;            *(pattern + 8 + pos) = *(pattern + 8 &#8211; (2+pos)) + 1;        }    }    getch();    return (EXIT_SUCCESS);}</p>
<p>This program was successfully executed to print the desired pattern using GCC 3.4.5 (mingw special) using NetBeans 7.0.1 IDE on Windows 7 x64.</p>
<p>Regards,<br />
Ajitem Sahasrabuddhe<br />
<a href="mailto:bZk@live.in">bZk@live.in</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajitem Sahasrabuddhe</title>
		<link>http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html/comment-page-1#comment-27840</link>
		<dc:creator>Ajitem Sahasrabuddhe</dc:creator>
		<pubDate>Sat, 14 Jan 2012 18:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.interviewmantra.net/?p=652#comment-27840</guid>
		<description>Hello,

First of all, I would like to congratulate you for all the hard work and effort put forth in building this website. I am sure, many people like me having a passion for C Language found this site very useful.

I would just like to contribute to the effort made by you. I have come-up with a shorter solution for Program #6. The method used here is simple but long. My method is a little complicated but people comfortable with pointers would find it a lot easier.

#include #include #include int main(){    char pattern[] = &quot;A B C D E D C B A&quot;;    int i,pos = 0;    for (i = 0; i &lt; 9; i++)    {        printf(&quot;%sn&quot;, pattern);        if (i &lt; 4)        {            *(pattern + 8 - pos) = &#039; &#039;;            *(pattern + 8 + pos) = &#039; &#039;;            pos+=2;        }        else        {            pos-=2;            *(pattern + 8 - pos) = *(pattern + 8 - (2+pos)) + 1;            *(pattern + 8 + pos) = *(pattern + 8 - (2+pos)) + 1;        }    }    getch();    return (EXIT_SUCCESS);}

This program was successfully executed to print the desired pattern using GCC 3.4.5 (mingw special) using NetBeans 7.0.1 IDE on Windows 7 x64.

Regards,
Ajitem Sahasrabuddhe
bZk@live.in</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>First of all, I would like to congratulate you for all the hard work and effort put forth in building this website. I am sure, many people like me having a passion for C Language found this site very useful.</p>
<p>I would just like to contribute to the effort made by you. I have come-up with a shorter solution for Program #6. The method used here is simple but long. My method is a little complicated but people comfortable with pointers would find it a lot easier.</p>
<p>#include #include #include int main(){    char pattern[] = &#8220;A B C D E D C B A&#8221;;    int i,pos = 0;    for (i = 0; i &lt; 9; i++)    {        printf(&quot;%sn&quot;, pattern);        if (i &lt; 4)        {            *(pattern + 8 &#8211; pos) = &#039; &#039;;            *(pattern + 8 + pos) = &#039; &#039;;            pos+=2;        }        else        {            pos-=2;            *(pattern + 8 &#8211; pos) = *(pattern + 8 &#8211; (2+pos)) + 1;            *(pattern + 8 + pos) = *(pattern + 8 &#8211; (2+pos)) + 1;        }    }    getch();    return (EXIT_SUCCESS);}</p>
<p>This program was successfully executed to print the desired pattern using GCC 3.4.5 (mingw special) using NetBeans 7.0.1 IDE on Windows 7 x64.</p>
<p>Regards,<br />
Ajitem Sahasrabuddhe<br />
<a href="mailto:bZk@live.in">bZk@live.in</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kashikarroshni</title>
		<link>http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html/comment-page-1#comment-27830</link>
		<dc:creator>Kashikarroshni</dc:creator>
		<pubDate>Tue, 10 Jan 2012 06:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.interviewmantra.net/?p=652#comment-27830</guid>
		<description>please send me this programme
</description>
		<content:encoded><![CDATA[<p>please send me this programme</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kashikarroshni</title>
		<link>http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html/comment-page-1#comment-27829</link>
		<dc:creator>Kashikarroshni</dc:creator>
		<pubDate>Tue, 10 Jan 2012 06:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.interviewmantra.net/?p=652#comment-27829</guid>
		<description>please give me this c progame</description>
		<content:encoded><![CDATA[<p>please give me this c progame</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BMengrMUET</title>
		<link>http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html/comment-page-1#comment-27647</link>
		<dc:creator>BMengrMUET</dc:creator>
		<pubDate>Fri, 21 Oct 2011 16:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.interviewmantra.net/?p=652#comment-27647</guid>
		<description>Plz can u solve this question for me (but in C programming format)

1-      Write a program which reverses the given string into reverse word order.
Example:- 
Input:
The Quick Brown Fox Jumps Over The Lazy Dog.
Output:
Dog Lazy The Over Jumps Fox Brown Quick The.
</description>
		<content:encoded><![CDATA[<p>Plz can u solve this question for me (but in C programming format)</p>
<p>1-      Write a program which reverses the given string into reverse word order.<br />
Example:-<br />
Input:<br />
The Quick Brown Fox Jumps Over The Lazy Dog.<br />
Output:<br />
Dog Lazy The Over Jumps Fox Brown Quick The.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Engr. Siyal</title>
		<link>http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html/comment-page-1#comment-27646</link>
		<dc:creator>Engr. Siyal</dc:creator>
		<pubDate>Fri, 21 Oct 2011 16:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.interviewmantra.net/?p=652#comment-27646</guid>
		<description>Write a program which prints Alphabets A to Z and also prints their ASCII code?</description>
		<content:encoded><![CDATA[<p>Write a program which prints Alphabets A to Z and also prints their ASCII code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chizomw</title>
		<link>http://www.interviewmantra.net/2010/01/10-challenging-char-pattern-programs.html/comment-page-1#comment-27641</link>
		<dc:creator>Chizomw</dc:creator>
		<pubDate>Wed, 19 Oct 2011 13:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.interviewmantra.net/?p=652#comment-27641</guid>
		<description>give me a pattern for this just using funtions
                w
             www
         wwwww
      wwwwwww
        wwwww
           www
              w</description>
		<content:encoded><![CDATA[<p>give me a pattern for this just using funtions<br />
                w<br />
             www<br />
         wwwww<br />
      wwwwwww<br />
        wwwww<br />
           www<br />
              w</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: www.interviewmantra.net @ 2012-02-10 23:35:56 -->
