What and all can a compiler provides by default?

Answers were Sorted based on User's Feedback



What and all can a compiler provides by default?..

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

What and all can a compiler provides by default?..

Answer / dee

default constructor, destructor, default copy constructor,
assignment operator.

Is This Answer Correct ?    13 Yes 0 No

What and all can a compiler provides by default?..

Answer / sandy

Also operator "&"

class Test {};

int main()
{
Test t;
Test *ptr = &t;
return 0;
}

Is This Answer Correct ?    4 Yes 5 No

Post New Answer

More C++ General Interview Questions

Define a pdb file.

0 Answers  


Is swift a good first language?

0 Answers  


please help to write the code of chess game in c++??????????

1 Answers   NEC,


Explain what are accessor methods?

0 Answers  


Name the implicit member functions of a class.

0 Answers  






What are the basics concepts of OOPS?

1 Answers  


What is c++ code?

0 Answers  


What are arithmetic operators?

0 Answers  


How to defines the function in c++?

0 Answers  


In a class only declaration of the function is there but defintion is not there then what is that function?

5 Answers   Hughes,


if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.

3 Answers  


What is the Maximum Size that an Array can hold?

55 Answers   Adobe, FutureSoft, HCL, Infosys, Satyam, TCS, Wipro,


Categories