1.

What is the signature of math in function using command line arguments?(a) int main(int argc, char const *argv[]);(b) int main(int argc, char const **argv);(c) int main(int argc, char **argv);(d) all of the mentionedThis question was posed to me in examination.This interesting question is from Command Line Arguments in portion C++ Advanced of C++

Answer»

Right ANSWER is (d) all of the mentioned

Easy explanation - Any of the above signature can be USED while USING command LINE arguments in C++ programs.



Discussion

No Comment Found

Related InterviewSolutions