I'm familiar with int main()
and void main()
, but I saw that our professor at uni uses main ()
-just main()
, nothing else- in his codes, what exactly does it do? I read that it won't work on new C standards, but I tried it on my computer and it worked fine.
Does main()
return a value like int main()
or is it more like void main()
?