strset used to change data from another data
/*strset is string set used to change the complete function data by our mention
data */
#include <stdio.h>
#include <string.h>
int main()
{ char data [] = "rohit";
char *p;
printf("data used in fuction is %s \n", data);
p = strset(data+2 , '#');
printf("data used in fuction after strset is %s\n", p );
return 0;
}
Comments
Post a Comment