int main() vs void main()
We’ve been brought up with many different variations of this popular function. Some books/teachers like to write it as “int main”, some write it as “void main” and then there are some who make do with just “main”, forgoing the return type altogether. So, which one out of them is correct? Or does it even make a difference?
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.