C Language - Command Line Arguments

 



#include <stdio.h>

int main(int argc, char const argv[])

int i; 

printf ("The value of argc is %d", argc);  

for (i=0; i<argc; i++) {  

printf ("The argument of index at %d is %s \n", i, argv[i]); 


//ScreenShot:




Comments

Popular Posts