Possible Duplicate:
Do the parentheses after the type name make a difference with new?
In C++, what is the difference between these two statements?
Class clg
{
public :
int x,y,z;
};
int main(void)
{
clg *ptrA = new clg; //
clg *ptrB = new clg(); // what is the importance of "()" ???
return 0;
}