Lab2: Argument Arrays: Composite
Lab2: Argument Arrays: Composite
Argument Arrays
Complete the following tasks and show its execution for different inputs. In your lab report,
show the program code and execution. Show execution using a transcript or screenshots.
Task 1: Write a C program that prints all the Command line arguments.
Task 2: Write a C program that performs the summation of all the command line arguments.
Task 3: Write a C program that makes tokenizes a string passed through the command line.
Task 5: Write a C program that displays if the arguments passed at command line are prime or
composite.