Enter your email address:


Monday, September 2, 2013

Home » , » WAP to print xay in place of every'a'in a string.

WAP to print xay in place of every'a'in a string.

Questions: Top-30-c-programs-asked-in-interview_6304.html

27.WAP to print'xay'in place of every'a'in a string.

#include
#include
void main()
{
int i=0;
char str[100],x ='x',y='y' ;
printf("En ter the string\n:");
gets(str);
while(str[ i]!='\0')
{
if(str[i]= ='a')
{
printf("%c ",x);
printf("%c ",str[i++] );
printf("%c ",y);
}
else
{
printf("%c ",str[i++] );
}
}
getch();
}

Share this games :

1 comments:

Anonymous said...

Wap To Print Xay In Place Of Every'A'In A String. ~ Crushhack >>>>> Download Now

>>>>> Download Full

Wap To Print Xay In Place Of Every'A'In A String. ~ Crushhack >>>>> Download LINK

>>>>> Download Now

Wap To Print Xay In Place Of Every'A'In A String. ~ Crushhack >>>>> Download Full

>>>>> Download LINK ww

Post a Comment

Related Posts