STRSET() Function – C Program

In previous C Language Program post we had discussed about  Compare String and STRCAM Function and STRCAT Function and STRLEN Function and STRCPY Function and STRNCAT Function and STRNCPY Function and STRREV Function and STRUPR Function and STRLWR Function.

STRSET() Function – C Program

Write a C Program to sets all the character of string to given character.

STRSET() Function – The STRSET() Function used to sets all the character of string to given character in C Program.

The Syntax of STRSET() Function :

strset(str1,  ‘ * ‘) – All the character of string str1 replaced by character ‘ * ‘.

Example of STRSET() Function C Program

The output of STRSET() Function C Program is :

 

Leave a Reply

Your email address will not be published. Required fields are marked *

1 + 7 =


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">