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 is fflush c++?
What is the size of a vector?
What do nonglobal variables default to a) auto b) register c) static
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300
What are the storage qualifiers?
Describe the setting up of my member functions to avoid overriding by the derived class?
What is virtual table?
What is void pointer in c++ with example?
What is unary operator? List out the different operators involved in the unary operator.
Should you pass exceptions by value or by reference?
Tell me can a pure virtual function have an implementation?
In what situations do you have to use initialization list rather than assignment in constructors?
Explain what you mean by a pointer.
What are stacks?
Differentiate between declaration and definition.