Didn't understand the code

from line 16 to 23 , why we are using arguement in mains and whats the use of it

hello @karnawatsanyam

Arguments in main function is used to pass values from command line.
we have never used them in our code so if u want u can ignore them.
read more about them here -> https://www.geeksforgeeks.org/command-line-arguments-in-c-cpp/

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.