I am using DevC++.
- when I write void main(), the compiler says main must return int.
- when I write main(), the compiler reports nothing.
- when  write int main(), the compiler asks me to return something.
My question is what is main() without int and void?why does compiler behave differently for int main() and just main()?
 
    