Advertisement
Josif_tepe

Untitled

Jan 5th, 2023
713
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.36 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <ctype.h>
  4. #include <string.h>
  5.  
  6.  
  7. int main(int argc, const char * argv[]) {
  8.     char s[1000];
  9.     scanf("%s", s);
  10.     char s2[1000];
  11.     scanf("%s", s2);
  12.    
  13.    
  14.     char * s3 = strcat(s, s2);
  15.     char s4[1000];
  16.     scanf("%s", s4);
  17.     s3 = strcat(s3, s4);
  18.     printf("%s\n", s3);
  19.     return 0;
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement