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 are exceptions c++?
How size of a class can be calulated?
If all is successful, what should main return a) 0 b) 1 c) void
Difference between class and structure.
sir i want to study the c++ course but ino what is the qualification and the study methode please reply more details in c++
Why do we use the using declaration?
What are the defining traits of an object-oriented language?
What are references in c++? What is a local reference?
how can u create a doubly linked list with out using pointers?
What is #include iostream in c++?
Why do we use pointers in c++?
What is microsoft c++ redistributable?