17 lines
319 B
C
17 lines
319 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdbool.h>
|
|
#include <string.h>
|
|
struct Point {
|
|
int x;
|
|
int y;
|
|
};
|
|
int main(void);
|
|
|
|
|
|
int main(void) {
|
|
struct Point p = (struct Point){ .x = 5, .y = 10 };
|
|
struct Person person = (struct Person){ .name = "Alice", .age = 30 };
|
|
return (p.x + person.age);
|
|
}
|
|
|