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
What is default value of global variable in c?
simple program of graphics and their output display
Explain argument and its types.
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
What is a sequential access file?
Why we write conio h in c?
What is NULL pointer?
What is #pragma statements?
Linked lists -- can you tell me how to check whether a linked list is circular?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
Explain what is #line used for?
Is there sort function in c?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is the purpose of & in scanf?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university