What does it mean to call a class as follows:
class Example
{
public:
Example(void);
~Example(void);
}
int main(void)
{
Example ex();
return(0);
}
As if it does not call the default constructor in this case. Can someone give a reason why this would be bad?
Thanks for all the answers.
source
share