Question
Does there exist any way to make the command-line arguments available to other functions
without passing them as arguments to the function?
Answer: Option A
Was this answer helpful ?
Using the predefined variables _argc, _argv. This is a compiler dependent feature.
It works in TC/TC++ but not in gcc and visual studio.
Was this answer helpful ?
More Questions on This Topic :
Question 5.
Which of the following is TRUE about argv?
....
Submit Solution