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...

How do I access command-line arguments?

Answer Posted / srujana

we can access the command-line arguments by passing the
arguments argv and argc on to the main() function where
argv represents an array of pointers to strings and argc
holds the int value which is equal to the number of strings
that are in argv

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1981


Do array subscripts always start with zero?

1246


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1670


Calculate 1*2*3*____*n using recursive function??

1990


What are the disadvantages of c language?

1134


Is main a keyword in c?

1089


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1055


List the difference between a "copy constructor" and a "assignment operator"?

967


What is difference between structure and union in c programming?

1036


What are the 4 types of functions?

1008


Is it possible to initialize a variable at the time it was declared?

1190


What happens if a header file is included twice?

991


What does a function declared as pascal do differently?

1060


State two uses of pointers in C?

1013


Is null always equal to 0(zero)?

1000