WELCOME TO MY BLOG BY SHABEEB.K

C,C++ PROGRAMMING: CONVERT A STRING TO ANOTHER SPECIFIED STRING.

Search This Blog

Monday, 9 September 2013

CONVERT A STRING TO ANOTHER SPECIFIED STRING.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char string[50];
clrscr();
printf("ENTER A STRING\n");
scanf("%s",&string);
strset(string,'*');
printf("%s",string);
getch();
}




No comments:

Post a Comment