1.

What are command line arguments?(a) Arguments passed to main() function(b) Arguments passed to any function(c) Arguments passed to class functions(d) Arguments passed to structure functionsI got this question during an interview.My question is from Command Line Arguments in section C++ Advanced of C++

Answer»

Correct option is (a) ARGUMENTS passed to main() FUNCTION

Easy explanation - COMMAND line arguments are the arguments that passed to the main function when the program is starting its EXECUTION.



Discussion

No Comment Found

Related InterviewSolutions