In the following declaration of main, "int main(int argc,
char *argv[])", to what does argv[0] usually correspond?
1) The first argument passed into the program
2) The program name
3) You can't define main like that
Answer Posted / sumeet sharma
argv[o] the array of strings will point to the name of the
program.
argv[1] will point to the first argument and so on.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
c++ program to swap the objects of two different classes
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Is oop better than procedural?
write a programe to calculate the simple intrest and compund intrest using by function overlading
what are the realtime excercises in C++?
what is the drawback of classical methods in oops?
What is the important feature of inheritance?
What is the real time example of encapsulation?
What is encapsulation c#?
#include
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What polymorphism means?
What makes a language oop?
What is this pointer in oop?
What is polymorphism programming?