P172. Program to understand command line input using ( void main( int argc, char **argv))
#include<stdio.h>
void
main(int argc,char **argv)
{
printf(" %d \n",argc);
int i;
for(i=1;i<argc;i++)
printf("%s\n",*(argv+i));
}
Comments
Post a Comment