Which of the following is not a valid declaration for main()

a) int main()

b) int main(int argc, char *argv[])

c) They both work


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

Post New Answer

More C++ General Interview Questions

What is c++ code?

0 Answers  


What are the uses of pointers?

0 Answers  


Explain differences between alloc() and free()?

0 Answers  


Is string an object in c++?

0 Answers  


What is an adaptor class in c++?

0 Answers  






When is dynamic checking necessary?

0 Answers  


What are Virtual Functions? How to implement virtual functions in "C" ?

3 Answers  


Explain the virtual inheritance in c++.

0 Answers  


what are the characteristics of Class Members in C++?

0 Answers  


Define private, protected and public access control.

0 Answers  


What is the basic concept of c++?

0 Answers  


How can you create a virtual copy constructor?

0 Answers  


Categories