<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sharacter stuffing | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/sharacter-stuffing/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Sun, 20 Sep 2009 08:13:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>Program for character stuffing</title>
		<link>https://studentprojects.in/software-development/c-tutorials/c/program-for-character-stuffing/</link>
					<comments>https://studentprojects.in/software-development/c-tutorials/c/program-for-character-stuffing/#comments</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Fri, 18 Sep 2009 18:42:15 +0000</pubDate>
				<category><![CDATA[C Programs]]></category>
		<category><![CDATA[c program]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[sharacter stuffing]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=762</guid>

					<description><![CDATA[<p>INPUT:<br />
enter string:<br />
asdlefgh<br />
enter position: 8<br />
invalid position,enter again: 3<br />
enter the character: k</p>
<p>OUTPUT:<br />
frame after stuffing:<br />
dlestx as dle k dle dle dlefgh dleetx</p>
<p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/program-for-character-stuffing/">Program for character stuffing</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>INPUT:<br />
enter string:<br />
asdlefgh<br />
enter position: 8<br />
invalid position,enter again: 3<br />
enter the character: k</p>
<p>OUTPUT:<br />
frame after stuffing:<br />
dlestx as dle k dle dle dlefgh dleetx</p>
<pre lang="c" escaped="true" line="1">
#include&lt;stdio.h&gt;
#include&lt;conio.h&gt;
#include&lt;string.h&gt;
#include&lt;process.h&gt;
void main()
{
int i=0,j=0,n,pos;
char a[20],b[50],ch;
clrscr();
printf("enter string\n");
scanf("%s",&amp;a);
n=strlen(a);
printf("enter position\n");
scanf("%d",&amp;pos);
if(pos&gt;n)
{
printf("invalid position, Enter again :");
scanf("%d",&amp;pos);
}
printf("enter the character\n");
ch=getche();

b[0]='d';
b[1]='l';
b[2]='e';
b[3]='s';
b[4]='t';
b[5]='x';
j=6;
while(i&lt;n)
{
if(i==pos-1)
{
b[j]='d';
b[j+1]='l';
b[j+2]='e';
b[j+3]=ch;
b[j+4]='d';
b[j+5]='l';
b[j+6]='e';
j=j+7;
}
if(a[i]=='d' &amp;&amp; a[i+1]=='l' &amp;&amp; a[i+2]=='e')
{
b[j]='d';
b[j+1]='l';
b[j+2]='e';
j=j+3;
}

b[j]=a[i];
i++;
j++;
}
b[j]='d';
b[j+1]='l';
b[j+2]='e';
b[j+3]='e';
b[j+4]='t';
b[j+5]='x';
b[j+6]='\0';
printf("\nframe after stuffing:\n");
printf("%s",b);
getch();
}
</pre><p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/program-for-character-stuffing/">Program for character stuffing</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/c-tutorials/c/program-for-character-stuffing/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
	</channel>
</rss>
