
Write a program that outputs the first command-line argument followed by a newline.
./first_arg prod is watchingExpected result
prodFor your own tracking. Tests grade your code.
./first_argExpected result
wrong number of argumentsExpected files
first_arg.cAllowed functions
write
v0.40: Create exercises. Challenge the community.
Meet Studio →Write a program that outputs the first command-line argument followed by a newline.
./first_arg prod is watchingExpected result
prodFor your own tracking. Tests grade your code.
./first_argExpected result
wrong number of argumentsExpected files
first_arg.cAllowed functions
write
Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.