strlen function in C Programming

4 years, 1 month ago C Programming

strlen function is a very simple string library function defined in string.h header file. It returns the length of a given byte string. Here length means how many characters are containing in that string. But it’s noted that the null character will always be excluded from the length. Its basic form is given below:

Continue Reading

strncmp function in C Programming

4 years, 1 month ago C Programming

To understand this topic clearly, you should understand the strcmp function in C programming firstly. If you have understood already, then go ahead.

Continue Reading

strcmp function in C Programming

4 years, 1 month ago C Programming

In C programming we need to compare two strings sometimes. In this case, what will you do? As a basic C programmer, you may write the following statement to compare two strings:

Continue Reading

strncat function in C Programming

4 years, 1 month ago C Programming

If you understand the strcat function in C programming, then a question may appear in your subconscious (not sure) mind. That is about the concatenation of certain amount of two strings. For such kind of concatenation we can use another function defined in string.h header file. That is strncat function. Its basic form is given below:

Continue Reading

strcat function in C Programming

4 years, 1 month ago C Programming

Today we will talk something about string manipulation, defined in string.h header file. We use <string.h> header file when we want to use a function containing in string library functions. Among them, strcat function is one & very important.

Continue Reading
Newer Posts