Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void) {
- char a[] = "ABC";
- char b[] = "DEF";
- char c[] = "GHI";
- char d[100];
- sprintf(d, "%s%s%s", a, b, c);
- printf("%s\n", d);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement