Question: If a program has the following prototype for main(): int main(int argc, char **argv); and the compiled program temp.exe is run (from the command line)
If a program has the following prototype for main():
int main(int argc, char **argv);
and the compiled program temp.exe is run (from the command line) using the command "temp file1 file2", an expression to get the value of file 1 is _______
Step by Step Solution
There are 3 Steps involved in it
To get the value of file1 passed as a commandline argument when running the compiled program tempexe ... View full answer
Get step-by-step solutions from verified subject matter experts
