to change specific data using strnset;

 /*strnset  is string set used to change the specific function data by our mention

data */


#include <stdio.h>

#include <string.h>


int main()

{ char data [] = "rohitparmar";


char *p;

printf("data used in fuction is %s \n", data);

p = strnset(data , '#',5);

printf("data used in fuction afte r strset is %s\n", p );



 return 0;

}


Comments

Popular posts from this blog

Factors : using C

Cross shaped pattern

Factorial ! calculation