fork download
  1. ~/ $ gcc -Wall -Wextra -o test-63532191 test-63532191.c
  2. test-63532191.c: In function ‘search’:
  3. test-63532191.c:52:9: error: expected expression before ‘}’ token
  4. }
  5. ^
  6. test-63532191.c:52:9: warning: ‘return’ with a value, in function returning void
  7. test-63532191.c:37:6: note: declared here
  8. void search(int count, person people[])
  9. ^~~~~~
  10. test-63532191.c:54:5: error: ‘else’ without a previous ‘if’
  11. else
  12. ^~~~
  13. test-63532191.c:68:79: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  14. if (strcmp(try_again, "Yes") == 0 || strcmp(try_again, "yes") == 0 || (int) try_again == 89 || (int) try_again == 121)
  15. ^
  16. test-63532191.c:68:104: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  17. if (strcmp(try_again, "Yes") == 0 || strcmp(try_again, "yes") == 0 || (int) try_again == 89 || (int) try_again == 121)
  18. ^
  19. test-63532191.c:70:13: warning: implicit declaration of function ‘sreach’; did you mean ‘search’? [-Wimplicit-function-declaration]
  20. sreach(count, people);
  21. ^~~~~~
  22. search
  23. test-63532191.c:73:5: error: expected expression before ‘}’ token
  24. }
  25. ^
  26. test-63532191.c:73:5: warning: ‘return’ with a value, in function returning void
  27. test-63532191.c:37:6: note: declared here
  28. void search(int count, person people[])
  29. ^~~~~~
  30. ~/ $
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty