19 lines
391 B
C
19 lines
391 B
C
#include "src.h"
|
|
#include <string.h>
|
|
|
|
void c7() {
|
|
char concat_str[strlen(FIRST_NAME) + strlen(LAST_NAME)];
|
|
strcpy(concat_str, FIRST_NAME);
|
|
strcat(concat_str, " ");
|
|
strcat(concat_str, LAST_NAME);
|
|
|
|
solve(7, "Concatenates(joins) two strings",
|
|
fmtstr("First & Last Name Concatenated: %s", concat_str));
|
|
}
|
|
|
|
int main() {
|
|
print_header();
|
|
c7();
|
|
return 0;
|
|
}
|