TipsMake
Newest

Tags : learning c programming

Strncat () function in C
Programming C 25 May 2019

Strncat () function in C

char * strncat (char * dest, const char * src, size_t n) append (string), pointed to by src, at the end of the string pointed to by dest, with a length of up to n characters.

Read More
The strchr () function in C
Programming C 25 May 2019

The strchr () function in C

char * strchr function (const char * str, int c) looks for the first occurrence of the character c (an unsigned char) in the string pointed to by parameter str.

Read More
The strncpy () function in C
Programming C 25 May 2019

The strncpy () function in C

strncpy char * (char * dest, const char * src, size_t n) copies up to n copies to n characters from the string pointed to by src to dest. in case the length of the src is smaller

Read More
The strcspn () function in C
Programming C 25 May 2019

The strcspn () function in C

the function size_t strcspn (const char * str1, const char * str2) calculates the length of the character segment of string str1 without containing the characters in str2.

Read More
The strerror () function in C
Programming C 25 May 2019

The strerror () function in C

the function char * strerror (int errnum) searches for an internal array for errnum error numbers and returns a pointer to a string of error messages.

Read More