C program to calculate addition, subtraction, multiplication using command line arguments
In this program, we will pass three arguments with the program's executable file name like (./main 10 + 20), program will calculate the result according to input operator. In this program allowed operators are +, -, and *, you can add other cases perform the calculations.
./main 10 + 20
Result: 10 + 20 = 30