fork(2) download
  1. void square(int x, int& result) {
  2. result = x * x;
  3. }
  4.  
  5.  
  6. int main() {
  7. return 0;
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
 void square(int x, int& result) {
                       ^
stdout
Standard output is empty