i want the code for the concatenation of two data without using strcat

Why?

I mean, if it's your homework, what would the point being of handing in someone elses solution?

Read the forum rules, we don't hand out free homework unless you show some effort up front.

Your question is vague enough that if you have special needs, a direct answer isn't going to be what you want (especially since the most direct answer is "What have you tried?"). So how about you tell us exactly what you're doing so we can offer more appropriate advice.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.