1. Mohmed ayman EL-Sayed ID:42020424
Arguments in programming
The difference between argc[] and argv[] is:
The first parameter, argc (argument count) is an integer that indicates
how many arguments were entered on the command line when the
program was started. The second parameter, argv (argument vector), is
an array of pointers to arrays of character objects.
String args[]:
in java is an array of type java. lang. String class that stores java
command line arguments. Variable argument or varargs in Java allows
us to write more flexible methods which can accept as many arguments
as we need
The argv[0], [1] is refers to:
In C and C++, argv[0] is the name of the program itself, and argv[1] is
the first command-line argument to the program. In Java, args[0] is the
first command-line argument to the program, and the name of the
program itself is not available.