// Another example #include using namespace std; struct s{ int a; double d; s() {a =9;d=9.999;} }; int main() { s * value = new s; cout << "Value of value.a = " << value->a << " value.d = " << value->d << endl; getchar(); return 0; }