This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| typedef struct Point { | |
| int x; | |
| int y; | |
| } point_t; | |
| int main() { | |
| point_t p1 = { x: 0, y: 1 }; | |
| point_t p2 = p1; |