Monday 27 August 2012

C file programs using array command line

C file programs  using array command line
#include<stdio.h>
#include<conio.h>
void main(int argc,char*argv[])
{
 FILE *filep;
 int i;
 clrscr();
 printf("\nNumber of argument on command line =%d\n",argc);
 if(!argc<2)
 {
 printf("Arguments on the command line:\n");
 for(i=0;i<=argc;i++)
 printf("argv[%d]=%s\n",i,argv[i]);
 }
 else
 {
  printf("\nNo parameter on the command line");
  }
  getch();
 }
programming code for C file programs  using array command line
Share This
Previous Post
Next Post

FYJC XI standard online admisson Process and declaraton of Merit list . Cut off List For prevous year also . 10 Th Results onlne declaraton Maharashtra Region .

0 comments: