I would rather not tick or cross your answers - it's not a good way to learn. However, why don't you just add the relevant int main, braces and headers round them and see what your compiler says. That would also give you an idea what to do with less straightforward error messages in the future.
To check the logic errors, then, just run the given programs (after fixing your syntax errors).