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 |
Explain function overloading and operator overloading.
What is a conversion constructor?
What are compilers in c++?
Why do you use the namespace feature?
What are the two types of comments?
write a program that takes two numbers from user that prints the smallest number
What you mean by early binding and late binding? How it is related to dynamic binding?
Describe the syntax of single inheritance in C++?
What does #define mean in c++?
Evaluate !(1&&1||1&&0) a) Error b) False c) True
Is c++ primer good for beginners?
What is pair in c++?