answersLogoWhite

0

Command line argument is a value that is passed to a program whenever the program is executed. It is used to avoid hard coding.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What is the length command line argument in character?

Use the function strlen(string);


How you can got the first character of an argument in command line argument in java?

in your code u always write public static void main(String args[]) { //here array args will hold the command line arguments. Indexing from zero for //first argument //with substring(args[0],1) u can get 1st char of first argument. }


What variable will capture the content of the argument passed to a script at the command line?

If you read your book, you will find the answer!


How do you get the number of argument from command line?

It is very difficult task.but I will manage it by deep thinking on on the issue.


What variable will capture the contents of the second argument passed to a script at the command line?

If you read your book, you will find the answer!


Which variable will capture the contents of the second argument passed to a script at the command line?

$2Straight from the instructor. kinda simple eh?


What is the getopt function in PHP?

It gets options from the command line argument list. It can be used in PHP 4.3 and above, including PHP 5.


Please someone explain you command line argument in C?

Command Line Arguments---- I am trying to explain each word one by oneCommand ------perform specific taskex. When CMD is typed in run window and then press ok button then open a black screen that is called command prompt.Command Line ------on command prompt where command is supplied that is called command line.using command prompt dos commands are executed and java program is also executed using command prompt.for executing java program command is supplied with given syntaxjava java_class_name argument1 argument2.........Java--- is a commandjava_class_name ---name of java file which you want to executeargument1 argument2 --- are the values passing to java application from out sidethese argument1 argument2 are stored in string array argument of main method


What is an explaination of about command line arguments?

These are pieces that you can add onto the end of a command to change how it functions. For example, the command ipconfig shows you the IP information for the connections on your computer. the argument /release releases all of the connections. So the full command would look like this: ipconfig /release


What is the character string usually called?

I think, array of string type object in java.actually java take any command line argument in stringformat. bydefault


What is a command argument?

Command line arguments are provided at the time of running the program. Example: Suppose that your program needs input name and its value then running it from commandline(DOS prompt) you provide the values after the program name java xyz name JAX(name is name and value is jax)


What is the s switch in formats?

When using the format command in DOS, the /s command-line argument "format c: /s" tells the system to copy over the system files necessary to make the drive DOS bootable. It is the same as using the "sys" command after finishing the format.