As jlb said, the compiler should be telling you what and where your problems are. Compiler error messages can sometimes be somewhat cryptic, but will tell you the line number where the compiler discovered a problem.
Line 3: The second argument to your function prototype makes no sense. n is undefined. Even if n were defined at this point, [n] makes no sense as an argument.
You have no implementation for insertion(), which will cause linker errors.
Your calls to insertion() do not match your function prototype.
Line 4: The ; terminates statement making this a function prototype.
Line 4,114: You have two main() functions.
Line 10,15,22,23,27: Array a is never defined.
Line 29,32,33,38: n is not defined.
Line 43,44: pos is not defined.
Line 139,143: This is a function prototype, not a function call. Get rid of the void.
There are more errors, but this should get you started. When you're just getting started, it is easiest to find and fix the first compiler error, recompile and move on to the next error.