Mega Code Archive
Categories
/
C
/
Code Snippets
A program to list the command line arguments
#include
void main(int argc, char *argv[]) { int j = 0; printf("Program name: %s\n", argv[0]); for(j = 1 ; j