Advertisement
coord center;
center.x = 5;
center.y = 3;
- A
typedef struct coord {
int x;
int y;
}; - B
typedef struct coord {
int x;
int y;
} coord; - C
typedef struct {
int x;
int y;
} coord; - D
struct coord {
int x;
int y;
};
typedef struct coord coord;
Join our list
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.