Command Line Arguments

Q1: Does there exist any way to make the command-line arguments available to other functions without passing them as arguments to the function?

A Yes

B No

ANS:A - Yes

Using the predefined variables _argc, _argv. This is a compiler dependent feature. It works in TC/TC++ but not in gcc and visual studio.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.