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 / ram

The answer is the program name.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by variable?

563


Advantage and disadvantage of routing in telecom sector

774


What is meant by oops concept?

598


What is destructor give example?

589


Can we create object of abstract class?

565






What is multilevel inheritance in oop?

541


What is the real time example of inheritance?

624


What is solid in oops?

589


Can an interface inherit a class?

547


to find out the minimum of two integer number of two different classes using friend function

1624


What are the types of abstraction?

543


What are the components of marker interface?

586


How do you achieve runtime polymorphism?

560


What is polymorphism explain?

667


What is polymorphism and example?

581