what is the use of 'int' in the command 'int main ()'?
it's the return type. When you have
It's basically a function that takes in no parameters and returns the integer 0;
just that you don't need to write return 0; or any other integer value