how to concat two values without concat function????????
is there anyonw who can tell me solution of above problemmmmmmmmmmmmmmmmm

do you mean concatenate two strings? First make sure the destination buffer is large enough to hold both strings. Next make sure the destination string is not a string literal because string literals can't be changed. Call strlen() to find the end of the destination string. Then create a for loop to add each character in the source string to the end of the destination string. Finally null-terminate the destination string by appending 0 character to it.

how to concat two values without concat function????????

That's totally not enough info. Can you elaborate a lot?

Yes please tell what exactly you wish to know?
Is it concatenation of 2 nos or two strings?

since there is no such thing as concantenating two numbers, the only option left is strings. But I didn't ask the original question so maybe he has something else in mind :)

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.