A typical C exam question

Write a function
square that takes an integer argument x and returns its square!!

Answer and marking scheme

The correct answer is:
int square(int x) { return (x*x); } You get the mark for remembering the semicolon after (x*x)!

Stay away Fitch! Anyway, you said that the net is the biggest waste of time in the world!

Here's another one!