typedef struct { float re; float im; } complex; //complex type ... complex x; //complex var complex *p; //ptr to complex