What will the following program output?
Given the class definition:
class CreateDestroy
{
public:
CreateDestroy() {<<
"constructor called, ";}
~CreateDestroy() {<< "destructor called, ";}
};
int main()
{
CreateDestroy c1;
CreateDestroy c2;
return 0;
}
a. constructor called, destructor called, constructor called, destructor called,
b. constructor called, destructor called,
c. constructor called, constructor called,
d. constructor called, constructor called, destructor called, destructor called,
d. constructor called, constructor called, destructor called, destructor called,
You might also like to view...
The growing use of cloud computing technology is represented by web-based applications and storage
Indicate whether the statement is true or false
The ________ is a very large subset of the Internet
Fill in the blank(s) with correct word