STRSET() Function – C Program

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 *

seventeen − two =