filmov
tv
Arguments of the main function. What are int argc and char * argv[] for?

Показать описание
The arguments int argc and char * argv [] are needed to pass any data to the main function. The number of arguments entered is automatically stored in the argc argument, and the passed strings are stored in the argv[] array of strings. In the future, you can process the data passed to the main function in any way convenient for you.