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 are the differences between public, private, and protected access?
12 Answers IBM, Oracle, Wipro,
Using a smart pointer can we iterate through a container?
Can a constructor return a value?
Why is polymorphism useful?
What is protected inheritance?
Difference between an inspector and a mutator
Does c++ have foreach?
What is difference between initialization and assignment?
12 Answers HCL, HP, Infosys,
What is fixed in c++?
#include<iostream.h> void main() { class x { public: int func(int) { cout<<"cool"; return 1; } } }
What is the difference between the compiler and the preprocessor?
If a header file is included twice by mistake in the program, will it give any error?