Walk Lightly on this PLANET and yet leave such a FOOTPRINT that cannot be erased for thousands of Years..!!!
Visit Codstech for Cyber Security related Posts !

Visitors

Friday, May 20, 2011

C36 : Read values from command line and print it

Back to Home   &  C


//Program to read values from command line and print it

#include<stdio.h>
#include<conio.h>
void main(int argc,char *argv[])
{
for(i=1;i<argc;i++)
{
printf("%s\n",arv[i]);
}
}
--------------------------------------------------------------
Output:


=========================================================================
Back to Home   &  C

No comments: