Hello,
Is it important to have functions ordered properly? For example, if I have:
void foo() {
bar();
}
void bar() {
printf("bar\n");
}
This results in an error because you can't call bar() above where bar() is declared. This is a simple fix on a computer because I can just copy paste the code to reorder it. This is a tough fix on a piece of paper because there's no copy paste (unless scissors and glue are allowed).
Will we be forgiven for things like this? Would it be especially aggregious to have main() at the very top of the page, despite it usually being at the bottom? My reason is, main() is the logical start to the solution, so that's one of the first things that I'd write. I don't like writing main() towards the bottom and leaving a gap because I might run out of room. If I run out of room, then I'd have to write functions below main(), which defeats the purpose of leaving the gap in the first place.
Also is pencil allowed?
Thanks