Compile Error
/in/foo.cc: In function 'void fun(int, int)': /in/foo.cc:9:1: error: expected ';' before 'printf' printf("%-2d",s[j]); ^~~~~~ /in/foo.cc:9:20: error: expected ')' before ';' token printf("%-2d",s[j]); ^ /in/foo.cc: At global scope: /in/foo.cc:22:11: error: '::main' must return 'int' void main() ^