fork(1) download
  1. #include <stdio.h>
  2. int main(void)
  3. {
  4. char arr[100], brr[50];
  5. printf("%d", scanf("%s %s", arr, brr));
  6. /* Suppose that input value given
  7.   for above scanf is "GeeksQuiz" */
  8. return 0;
  9. }
Success #stdin #stdout 0s 5492KB
stdin
Geeks Quiz
stdout
2