C Programming - Command Line Arguments - Discussion
Discussion Forum : Command Line Arguments - General Questions (Q.No. 1)
1.
The maximum combined length of the command-line arguments including the spaces between adjacent arguments is
Discussion:
18 comments Page 2 of 2.
Parvesh kumar said:
1 decade ago
What is the use of command line argument and how can I use it ?
Sidheshwar kacharde said:
1 decade ago
It's right it's depend on OS.
Rathika.b said:
1 decade ago
Then what about the meaning of /*......*/ and //???
These also command-line arguments ah??
These also command-line arguments ah??
Naresh said:
1 decade ago
It is possible to pass arguments to C programs when they are executed. The brackets which follow main are used for this purpose. argc refers to the number of arguments passed
Vijay said:
1 decade ago
Its right
In DOS environment,maximum length is 128 characters.
& it vary according to os to os.
In DOS environment,maximum length is 128 characters.
& it vary according to os to os.
Prathima said:
1 decade ago
main() function takes two arguments i.e main(int argc, char *argv[])
Here argc is the argument count and argv is a argument vector(argv is a array of pointers).
In DOS environment, maximum length is 128 characters. But the question is for all OS. So it may vary from OS to other OS.
Here argc is the argument count and argv is a argument vector(argv is a array of pointers).
In DOS environment, maximum length is 128 characters. But the question is for all OS. So it may vary from OS to other OS.
Rajesh said:
1 decade ago
Command line arguments means?
Preetam jadakar said:
1 decade ago
How to understand the which os offers which specification for cammand pompt?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers