void square(int x, int& result) { result = x * x;} int main() { return 0;}
Standard input is empty
prog.c:1:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token void square(int x, int& result) { ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!