What and all can a compiler provides by default?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / dee
default constructor, destructor, default copy constructor,
assignment operator.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / sandy
Also operator "&"
class Test {};
int main()
{
Test t;
Test *ptr = &t;
return 0;
}
| Is This Answer Correct ? | 4 Yes | 5 No |
What is the difference between a baller and a reference in C++?
1.Between 100 and 999 are some numbers that have the characteristics that if you cube the individual digits and sum together you will get the same number. 2. A program that can accept as input an integer and output the equivalent of that number in words.
Is python written in c or c++?
What is the full form of ios?
How does a copy constructor differs from an overloaded assignment operator?
What are the syntactic rules to be avoid ambiguity in multiple inheritance?
What are the advantages of c++? Explain
What is exception handling in C++?
program explaining feautures of c++
What is the difference between operator new and the new operator?
Describe protected access specifiers?
Describe private, protected and public?