What and all can a compiler provides by default?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does it mean to declare a member variable as static?

612


What is the type of 'this' pointer?

605


Comment on assignment operator in c++.

713


What are mutator methods in c++?

650


What are the advantages of early binding?

609






Is string an object in c++?

659


Should you pass exceptions by value or by reference?

698


Give example of a pure virtual function in c++?

588


What is a tree in c++?

565


Which sort does c++ use?

580


What is the exit function in c++?

543


What is near, far and huge pointers? How many bytes are occupied by them?

663


Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

706


Define a pointer to a data member of the type pointer to pointer?

576


How can virtual functions in c++ be implemented?

612