search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
33 views
asked Geek 15.3k points 14 39 58

1 Answer

0 votes

#include<stdio.h>

#include<conio.h>

main(int argc, char *argv[])

{

Int x;

clrscr();

Printf(“\n Total number of arguments are %d \n ”, argc);

for(x=0; x<argc; x++)

Printf(“%s\t”, argv[x]);

getch();

return 0;

}

Output:

Total numbers of arguments are 4

C:\TC\C.EXE A B C

answered Guru 39.1k points 10 21 32

Related questions

0 votes
1 answer 23 views
0 votes
1 answer 74 views
0 votes
1 answer 70 views
70 views
asked sara Guru 24.6k points 29 51 76
...