#include #include #include "date.h" using namespace std; int main() { date d(12, 31, 2014); char *const p = reinterpret_cast(&d); for (size_t i = 0; i < sizeof d; ++i) { p[i] = '\0'; //Overwrite d with zeroes. } d.print(); cout << "\n"; return EXIT_SUCCESS; }