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 programming language should I learn first?

0 Answers  


What is the error in the code below and how should it be corrected?

0 Answers  


write a program in c++ to implement stack using functions in header file stack.h

3 Answers   Google, Subex,


What does new in c++ do?

0 Answers  


Name four predefined macros.

0 Answers  






What is the benefit of learning c++?

0 Answers  


write infinite loop in C++ which does not use any variable or constant?

3 Answers  


Why is c++ still used?

0 Answers  


Which operator can not be overloaded in C++?

1 Answers  


What is the difference between a copy constructor and an overloaded assignment operator?

4 Answers   Belzabar, Citrix, Microsoft, Wipro,


How many bit combinations are there in a byte?

13 Answers   Intel, Microsoft,


What is a constant reference?

0 Answers  


Categories