fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char pal1[100], pal2[100];
  5. scanf("%s %s", pal1, pal2);
  6. printf("%s - %s", pal1, pal2);
  7. }
  8.  
  9. //https://pt.stackoverflow.com/q/238214/101
Success #stdin #stdout 0s 4264KB
stdin
teste leitura
stdout
teste - leitura