fork download
  1. /* from https://stackoverflow.com/a/2575204/4279 */
  2. int main() {
  3. int i = foo(5);
  4. /* No declaration for `foo`, no prototype for `foo`.
  5.   Will work in C89/90. Assumes `int foo(int)` */
  6.  
  7. return 0;
  8. }
  9.  
  10. int foo(int i) {
  11. return i;
  12. }
  13.  
Success #stdin #stdout 0s 9280KB
stdin
Standard input is empty
stdout
Standard output is empty