Home » Strings Concatenation in C

Strings Concatenation in C

by Online Tutorials Library

Strings Concatenation in C

The concatenation of strings is a process of combining two strings to form a single string. If there are two strings, then the second string is added at the end of the first string.

For example, Hello + tutoraspire = Hello tutoraspire

We can concatenate the strings in the following three ways:

  • Concatenate two strings using loop
  • Concatenate two strings using pointer
  • Concatenate two strings using strcat() function

Concatenate two strings using loop

You may also like