Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain command-line arguments in C.

Answer Posted / nashiinformaticssolutions

Command-line arguments are passed to the main() function as argc (argument count) and argv (argument vector).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scanf () in c?

1066


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1681


What does %d do?

1215


Difference between Shallow copy and Deep copy?

1977


How can I trap or ignore keyboard interrupts like control-c?

1027


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1047


What is the difference between ++a and a++?

1157


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3485


Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

1839


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

1020


What is a static variable in c?

1073


What is meant by operator precedence?

1100


What are qualifiers?

985


What does calloc stand for?

1098


What are the string functions? List some string functions available in c.

955