C Program to Run Command Line Argument with VSCode
Get Certified in C Programming and Take Your Skills to the Next Level
Program 1
#include<stdio.h>
#include<conio.h>
void main(int argc,char *argv[])
{
printf("\nTotal argument is %d",argc);
printf("\nFirst argument is %s",argv[0]);
printf("\nSecond argument is %s",argv[1]);
printf("\nThird argument is %s",argv[2]);
printf("\nFourth argument is %s",argv[3]);
}
Did you like our efforts? If Yes, please give DataFlair 5 Stars on Google

