stu nicholls dot com | menu - Professional dropdown #3

// Sample Program to demonstrate the use of Command line arguments
#include < stdio.h >
#include < conio.h >

void main (int argc, char *argv[])
	{
	int count;
        clrscr();
  	printf ("Number of arguments %d \n", argc);
	for (count = 0; count < argc; count ++)
	{
	printf ("argv[%d] = %s\n", count,argv[count]);
	}
	getch( );
	}
Footer1