cTest qTest; -- this creates a new object called "qTest", using default initialization. Default initialization calls the default constructor, which prints "test".
qTest; this does nothing. (formally, this is a discarded-value lvalue expression)
If you fix the return type of main (it must return int) so that you can compile this on other C++ compilers, you will see most of them complain:
test.cc:13:2: warning: expression result unused [-Wunused-value]
qTest;
^~~~~
test.cc:14:2: warning: expression result unused [-Wunused-value]
qTest;
^~~~~
test.cc:13:7: warning: statement has no effect [-Wunused-value]
test.cc:14:7: warning: statement has no effect [-Wunused-value]
"test.cc", line 13.9: 1540-5337 (I) Null statement.
"test.cc", line 14.9: 1540-5337 (I) Null statement.