All command-line arguments are passed on as a string. The numerical values must always be converted by programmers or users to their internal forms, using manual effort. The main function always receives its parameters, which usually is an array of strings. This is the only function argument that the main function accepts. String data types are made to be used while storing command line arguments.