IndiaBIX.com
Arithmetic Aptitude Data Interpretation
Logical Reasoning Verbal Reasoning Non Verbal Reasoning
General Knowledge
Sudoku Number puzzles Missing letters puzzles Logical puzzles Playing cards puzzles Clock puzzles
C Programming C# Programming Java Programming
Networking Database Questions Computer Science Basic Electronics Digital Electronics Electronic Devices Circuit Simulation Electrical Enigneering Engineering Mechanics Technical Drawing
Placement Papers Group Disucssion HR Interview Technical Interview Body Language
Aptitude Test Verbal Ability Test Verbal Reasoning Test Logical Reasoning Test C Programming Test Java Programming Test Data Interpretation Test General Knowledge Test
Data Structures Operating Systems Networking DATABASE Database Basics SQL Server Basics SQL Server Advanced SQL Server 2008 JAVA Core Java Java Basics Advanced Java UNIX Unix File Management Unix Memory Management Unix Process Managemnt C Interview Questions The C Language Basics .NET Interview Questions .NET Framework ADO.NET ASP.NET Software Testing

C Programming - Command Line Arguments - Discussion

@ : Home > C Programming > Command Line Arguments > General Questions - Discussion

1. 

The maximum combined length of the command-line arguments including the spaces between adjacent arguments is

[A]. 128 characters
[B]. 256 characters
[C]. 67 characters
[D]. It may vary from one operating system to another

Answer: Option D

Explanation:

No answer description available for this question.


Dhanpal Singh said: (Tue, Nov 16, 2010 09:55:05 AM)    
 
different computer configuration

Rashmi said: (Thu, Jan 13, 2011 05:49:25 AM)    
 
Because command prompt depend on the Operating System (OS) and when OS change then the value of the command line argument changes.

Preetam Jadakar said: (Thu, Feb 17, 2011 04:13:24 AM)    
 
How to understand the which os offers which specification for cammand pompt?

Rajesh said: (Fri, Jul 1, 2011 02:30:40 PM)    
 
command line arguments means?

Prathima said: (Wed, Sep 7, 2011 05:54:08 PM)    
 
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.

Vijay said: (Thu, Sep 15, 2011 01:45:07 PM)    
 
Its right
In DOS environment,maximum length is 128 characters.
& it vary according to os to os.

Naresh said: (Sun, Dec 25, 2011 09:44:49 AM)    
 
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

Rathika.B said: (Mon, Jan 16, 2012 07:42:58 PM)    
 
Then what about the meaning of /*......*/ and //???
These also command-line arguments ah??

Sidheshwar Kacharde said: (Sun, Feb 5, 2012 05:29:39 PM)    
 
It's right it's depend on OS.

Parvesh Kumar said: (Mon, Feb 6, 2012 02:15:08 PM)    
 
What is the use of command line argument and how can I use it ?

Write your comments here:
Name *:     Email:


© 2008-2011 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy

Advertise     Contact us: info@indiabix.com     Follow us on twitter!