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 / mahi
my ans is 2.it prints the program name
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the 3 principles of oop?
program for insertion ,deletion,sorting in double link list
Why do we need polymorphism in c#?
Can you explain polymorphism?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What are the two different types of polymorphism?
What is inheritance in oop?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Can private class be inherited?
What is debug class?what is trace class? What differences are between them? With examples.
What are the 4 main oop principles?
What are the three parts of a simple empty class?
What is the difference between encapsulation and polymorphism?
What is polymorphism in oop example?
What is polymorphism and types?