typedef struct RECT { int width; int height; int (*hander)(int w,int h); //成员函数 }RECT; //计算面积 int area(int x,int y) { return x*y; } //计算周长 int length(int x,int y) { return (x+y)*2; } int main() { /* Write C code in this online editor and run it....