What and all can a compiler provides by default?
Answer Posted / shakti singh khinchi
5 things:
1: default constructor.
2: default destructor.
3: default copy constructor.
4: assignment operator (=).
5: address operator ('&').
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What are pointer-to-members? Explain.
How do you clear a map in c++?
what is the difference between overloading & overriding? give example.
Can I learn c++ in a week?
Why do we use iterators?
Difference between class and structure.
How long it will take to learn c++?
What is the use of endl in c++ give an example?
Explain the advantages of using friend classes.
Mention the ways in which parameterized can be invoked. Give an example of each.
What is the difference between while and do while loop?
Can I learn c++ without learning c?
What do you mean by translation unit?
How would you use the functions memcpy(), memset(), memmove()?
How do I write a c++ program?