Int main () and void main, what is the difference ?

Hi,
I'm a beginner at coding, I know that int main () is where the program starts but on some websites I found instead of using int main () ( and return 0; before the last bracket), it was void main().
Is there any difference ? And does it affect the compiling speed ?
Thanks
#include <iostream>
