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 destructor oops?
What is abstraction in oops with example?
class type to basic type conversion
What is property in oops?
What is advantage of inheritance?
How oops is better than procedural?
What is pointer in oop?
Can you inherit a private class?
Can we create object of abstract class?
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
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< any one please tell me the purpose of operator overloading
What is polymorphism and types? 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...
What is the advantage of oop over procedural language?