This directory contains C programs that demonstrate the usage of argc
and argv
in command-line programs.
📁 File Name: 0-whatsmyname.c
📝 Description: This program prints its name, followed by a new line.
📁 File Name: 1-args.c
📝 Description: This program prints the number of arguments passed into it.
📁 File Name: 2-args.c
📝 Description: This program prints all arguments it receives, each on a new line.
📁 File Name: 3-mul.c
📝 Description: This program multiplies two numbers.
📁 File Name: 4-add.c
📝 Description: This program adds positive numbers.
📁 File Name: 100-change.c
📝 Description: This program calculates the minimum number of coins to make change for an amount of money.
For detailed explanations of each step and the commands used, you can refer to the commit descriptions in the directory's commit history.
Each commit message contains a clear description of the actions taken, including the relevant commands used in the terminal.