Sail E0 Webinar
Question

Does there exist any way to make the command-line arguments available to other functions 

without passing them as arguments to the function?


Options:
A .  Yes
B .  No
Answer: Option A

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 ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers