hi
i saw a program which inside its class initializes another class object to zero.
also if i initialize to some other number other than zero ,an error occurs.
this is not related with pure virtual function since it is an object not a function.
can some one could explain what it is.
i saw a program which inside its class initializes another class object to zero.
also if i initialize to some other number other than zero ,an error occurs.
Code:
Circle* cp = 0;
can some one could explain what it is.
Comment