#include <iostream>
struct Money
{
int twenty, ten, five, one, change;
int quarter, dime, nickel, penny;
void foo();
};
int main()
{
char storage[120] = "This is filler.";
Money* a = new (storage) Money; /* default initialization, not value initialization */
std::cout << a->twenty << ", " << a->ten << ", " << a->penny << "\n";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgogICAgIApzdHJ1Y3QgTW9uZXkKewogICAgaW50IHR3ZW50eSwgdGVuLCBmaXZlLCBvbmUsIGNoYW5nZTsKICAgIGludCBxdWFydGVyLCBkaW1lLCBuaWNrZWwsIHBlbm55OwoKICAgIHZvaWQgZm9vKCk7Cn07CiAgICAgCmludCBtYWluKCkKewogICAgY2hhciBzdG9yYWdlWzEyMF0gPSAiVGhpcyBpcyBmaWxsZXIuIjsKICAgIE1vbmV5KiBhID0gbmV3IChzdG9yYWdlKSBNb25leTsgLyogZGVmYXVsdCBpbml0aWFsaXphdGlvbiwgbm90IHZhbHVlIGluaXRpYWxpemF0aW9uICovCiAgICBzdGQ6OmNvdXQgPDwgYS0+dHdlbnR5IDw8ICIsICIgPDwgYS0+dGVuIDw8ICIsICIgPDwgYS0+cGVubnkgPDwgIlxuIjsKICAgIHJldHVybiAwOwp9