I just bought the new edition of Let Us C by Y.P. Kanetkar (8th edition). In the examples so far the book has used:
When I compile, it gives an error, it should be int not void. I have had the same results using Code::Blocks and terminal on Mac to compile. So why would the book use void?Code:void main() {}