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 binary search in c++?

0 Answers  


What is virtual destructor ans explain its use?

0 Answers  


What is vector string in c++?

0 Answers  


make a middle node of doubly linklist to the top of the list

1 Answers  


What are literals in C++?

0 Answers   Wipro,






What is a buffer c++?

0 Answers  


How a modifier is similar to mutator?

0 Answers  


How size of a class can be calulated?

2 Answers  


How is static data member similar to a global variable?

0 Answers  


Difference between delete and free.

0 Answers  


Using a smart pointer can we iterate through a container?

0 Answers  


Write a function that swaps the values of two integers, using int* as the argument type?

0 Answers  


Categories