In int main(int argc, char *argv[]) what is argv[0]

a) The first argument passed into the program

b) The program name

c) You can't define main like that


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is a set in c++?

0 Answers  


Which software is best for coding?

0 Answers  


class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected

3 Answers   Quark,


pls help.. paper bills.. 1000, 500, 100, 50, 20, 10, 5, 1.. create a program that will count all the paper bills in the number being input.. example: enter a number: 3886 there is/are: 3 ->1000 1 ->500 3 ->100 1 ->50 1 ->20 1 ->10 1 ->5 1 ->1 example2: enter a number: 728 there is/are: 0 ->1000 1 ->500 2 ->100 0 ->50 1 ->20 0 ->10 1 ->5 3 ->1

4 Answers  


What is a concrete class?

1 Answers  






Define pure virtual function?

0 Answers  


How does list r; differs from list r();?

0 Answers  


What are the benefits of oop in c++?

0 Answers  


How many characters are recognized by ANSI C++?

0 Answers   Hexaware, NIIT,


What is tellg () in c++?

0 Answers  


Explain binary search.

0 Answers  


Explain how a pointer to function can be declared in C++?

0 Answers  


Categories