Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char a[] = "A string";
- char b[] = "B string";
- char c[] = "C string";
- char buffer[20];
- sprintf(buffer, "%s %s %s", a,b,c);
- Serial.print(buffer);
- // "A string B string C string"
Advertisement
Add Comment
Please, Sign In to add comment