I belong to a newly setup college, and have teachers who are not so talented. I personally have spotted them making mistakes many times. This is because they themselves have false knowledge. Hence I teach programming and networking to myself. As I cannot rely on them.
Now since this is the scenario, I have fallen into a big doubt.
One of my teachers of the subject Analysis Of Algorithms, had said, "when int main() returns 0, all the buffers are closed, all the resources utilized are cleared off, and space is created for other programs. Hence it is a good practise to return 0". To which I argued, "mam, we always knew that it is only to indicate that the program has completed exexution successfully" To which she said, "you are partly correct".
Which clearly means she meant returning a non zero doesnt release resources.
Now who is correct, I or she? Should I ask for a money back?