Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <stdio.h>
  2. int main(void){
  3. char s[3][100]={0};
  4. printf("Primeira string: ");
  5. scanf("%s",s[0]);
  6. printf("%s!!n", s[0]);
  7. // Neste momento "efghn" está no stdin, eu acho
  8. printf("Segunda string: ");
  9. scanf("%s",s[1]); // eu não pressiono enter aqui
  10. printf("%s!!!!n", s[1]);
  11. }
  12.  
  13. ' '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement