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
How do you answer polymorphism?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
Can a varargs method be overloaded?
What is polymorphism what are the different types of polymorphism?
What is the benefit of oop?
Why is abstraction used?
What is difference between inheritance and polymorphism?
What is destructor example?
Why it is called runtime polymorphism?
What is a superclass in oop?
What is encapsulation c#?
How do you define a class in oop?
what is the drawback of classical methods in oops?
Whats oop mean?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?