i know that we discussed it before and i learned that we write main like this:
but when i started my course i was told "the way to write main is":Code:int main() { return 0; }
i was skeptic regarding what they says until i wrote it in visual studio 2005Code:void main() { }
and it even didnt put out a warning
whyyyy??