What is Command Line Argument in C

COMMAND LINE ARGUMENT:- Command line argument in C is a mechanism by which a program takes input during runtime. The main function takes two parameters in a command line argument such as Argument Counter:- It counts the number of argument on the command line. Argument Vector:- Is a pointer array which points to each argument […]


What is Command-Line Argument in java?

Command-line Argument Command-line argument is a method which user will give inputs through the console(command prompt) using commands.The argument accepted by main method is known as command line argument. The main method of java only access array of string as an argument. The argument passed from the console can be received in the JAVA program and […]