V
_vjy
class class1 {};
class1 *obj = new class1;
is this valid syntax ? shouldn't this be like,
class1 *obj = new class1();
g++ gives no errors / warnings.
class1 *obj = new class1;
is this valid syntax ? shouldn't this be like,
class1 *obj = new class1();
g++ gives no errors / warnings.