Viewing posts for the category C Programming

strcmp function in C Programming

4 years, 6 months 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, 6 months 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, 6 months 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