📜  typedef c struct - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:39.685000             🧑  作者: Mango

代码示例1
/* Method one */
typedef struct Vertex {
    int x;
    int y;
} Point;

/* Method two */
struct Vertex { 
    int x;
    int y;
}
typedef struct Vertex Point;