what does int main(int argc, char const *argv[]) means??
Argument in main function
Argc and argv are used to give inputs on command line.To pass command on command line we use two arguments.First argument is the number of command arguments and second argument is list of command-line arguments.
You can read more on geeksforgeeks