What will be the length of the os.Args variable when executing the following Go program: $ ./main a 1 b 2 c 3
Remember that the name of the program (main) is counted as an argument too!
What will be the length of the os.Args variable when executing the following Go program: $ ./main a 1 b 2 c 3
Remember that the name of the program (main) is counted as an argument too!
Create a free account to access the full topic