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 know we work 24x7 to provide you best tutorials
Please encourage us - write a review on Google

