#include #include class Foo { protected: static char d; char str[5]; float x[5]; public: Foo() {} ~Foo() {} void myprint() { fprintf(stdout, "hello world\n"); } }; char Foo::d = (char)NULL; int main(int argc, char** argv) { Foo foo; }