TCS Command Line Program to Swap two numbers

Question. Write a program to swap two numbers using command line programming

Note: Please go through Command Line Arguments Post before preparing for these questions. The theory there  for TCS command line Program will help you in better understanding .

int main(int argc, char * argv[])
printf("No command line argument present, add them first");
return 0;
double firstNumber, secondNumber, temporaryVariable;
 firstNumber = atoi(argv[1]);
 secondNumber = atoi(argv[2]);
 temporaryVariable = firstNumber;
 firstNumber = secondNumber;
 secondNumber = temporaryVariable;
 printf("\nAfter swapping, firstNumber = %.2lf\n", firstNumber);
 printf("After swapping, secondNumber = %.2lf", secondNumber);
return 0;