copying multiple char* into one char* variables C language

Posted by iSight on Stack Overflow See other posts from Stack Overflow or by iSight
Published on 2010-06-11T12:13:40Z Indexed on 2010/06/11 12:23 UTC
Read the original article Hit count: 139

Filed under:

Hi,

How can i copy multiple char* variables into one char* at single instance operation.

say i have

char* text1 = "Hello";

char* text2 = "World";

i want to copy text1, text2 and '2' and "12345" into char* text3 in single function call.

© Stack Overflow or respective owner

Related posts about c