Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- int main()
- {
- char firstWord[50],secondWord[50];
- printf("Entre com a primeira palavra :\n");
- gets(firstWord);
- printf("Entre com a segunda palavra :\n");
- gets(secondWord);
- strcat(firstWord,"\n");
- strcat(firstWord,secondWord);
- puts(firstWord);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment