How to use the Strcat function to connect 2 arrays in C language

Source: Internet
Author: User

How does the C language use the Strcat function to concatenate 2 arrays?

Today, I had this problem, so I tried it, though it was not a problem to be seen by many big guys, but I would like to make a brief introduction to it.

Here's my code and how it works.

In fact, the simple introduction of a J variable, so that it skips the insertion of the first character array.

This week found a good book: "Mood Dictionary", it is based on each mood English words of the first letter to sort, the author through the story about each mood, to people more vividly introduce a variety of abstract mood.

At the same time, see a book called "Reading Library" of the short story collection, seems to have a lot of this, or slowly look at it, good-looking or will introduce a everyone.

How to use the Strcat function to connect 2 arrays in C language

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.