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
Do you know pointer in c?
Explain enumerated types in c language?
How can I remove the leading spaces from a string?
What is wrong with this program statement? void = 10;
What is array of structure in c programming?
Explain goto?
What math functions are available for integers? For floating point?
How do we print only part of a string in c?
Where can I get an ansi-compatible lint?
What language is c written?
What is indirection?
What is c system32 taskhostw exe?
What is the purpose of type declarations?
Do pointers take up memory?
What is a const pointer?