#include #include #include "node.h" using namespace std; int main(int argc, char **argv) { const node *const p = new node(10); cout << "value == " << *p << ", prev == " << p->prev << ", next == " << p->next << ".\n" << "A node occupies " << sizeof (node) << " bytes.\n" << "The hidden numbers are " //unofficial << reinterpret_cast(p)[-2] << " and " << reinterpret_cast(p)[-1] << ".\n"; delete p; return EXIT_SUCCESS; }