typedef struct syntax code example
Example: typedef c struct
/* Method one */
typedef struct Vertex {
int x;
int y;
} Point;
/* Method two */
struct Vertex {
int x;
int y;
}
typedef struct Vertex Point;
/* Method one */
typedef struct Vertex {
int x;
int y;
} Point;
/* Method two */
struct Vertex {
int x;
int y;
}
typedef struct Vertex Point;