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
What is balance factor?
What does <> mean pseudocode?
Explain the advantages of inheritance.
How Do you Code Composition and Aggregation in C++ ?
What is abstraction and encapsulation?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Which is not an object oriented programming language?
2. Give the different notations for the class.\
What are two types of polymorphism?
What is polymorphism in oops with example?
What is multilevel inheritance explain with example?
What is multilevel inheritance in oop?
What is constructor in oop?
What is byval and byref? What are differences between them?
What makes a language oop?