You need:
sprintf(Buffer,"Hello World");
sprintf(Buffer + strlen(Buffer),"Good Morning");
sprintf(Buffer + strlen(Buffer),"Good Afternoon");
and of course you need your buffer to be big enough.
More Related Contents:
- in c printf() returns what [closed]
- What does %d mean? Why d and not another letter? [closed]
- char c[]=”Albus”; printf(“%c”, c); [closed]
- printf anomaly after “fork()”
- Correct format specifier for double in printf
- printf(“%p”) and casting to (void *)
- C/C++ printf() before scanf() issue
- Set variable text column width in printf
- Printf variable number of decimals in float
- How to format a number using comma as thousands separator in C?
- Printing UTF-8 strings with printf – wide vs. multibyte string literals
- What does “%.*s” mean in printf?
- How to printf a memory address in C
- string format for intptr_t and uintptr_t
- printf specify integer format string for float
- How to format strings using printf() to get equal length in the output
- How to control the number of exponent digits after ‘e’ in C printf %e?
- write() to stdout and printf output not interleaved?
- Unsigned values in C
- fork() in c using printf [duplicate]
- Variable sized padding in printf
- printf of a size_t variable with lld, ld and d type identifiers
- Scanf/Printf double variable C
- Why does “printf” not produce any output?
- Printing chars and their ASCII-code in C
- colorful text using printf in C
- C printf using %d and %f
- Turbo C++: Why does printf print expected values, when no variables are passed to it?
- What is the difference between %f and %lf in C?
- Is sprintf(buffer, “%s […]”, buffer, […]) safe?