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
What is the latest c++ version?
Why was c++ created?
How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.
Explain the difference between c++ and java.
What is abstract class in c++?
What is meant by const_cast?
What parameter does the constructor to an ofstream object take?
Which is most difficult programming language?
What is the extension of c++?
Write a program that will count the number of digits in an input integer up to value MAX_VALUE (2147483647). Thus, for an input of 5837 the output should be 4 digits Make sure that your program works for the numbers 0, 1, and 10. For the number 0, the output should be 1 digit
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
when can we use virtual destructor?
7 Answers HCL, HP, Virage Logic,