C Programming Language

strnset()

Syntax:
#include<string.h>
char *strnset( const char *str,char ch ,int n);

                 strnset(str,ch,n) set the first n character of str to ch. quits when the first null character is found. Returns a pointer to str.

Example:

strnset() function  
strset() Home strrev()

c program stats