f&
cool@archpony ~> bat hmmm.c
───────┬───────────────────────────────────────
│ File: hmmm.c
───────┼───────────────────────────────────────
1 │ #include <stdio.h>
2 │
3 │ typedef struct Node {
4 │ struct Node* left;
5 │ struct Node* right;
6 │ struct Node* parent;
7 │ };
8 │
9 │ int main(int argc, char **argv) {
10 │ printf("Hello, world!\n");
11 │ return 0;
12 │ }
13 │
───────┴───────────────────────────────────────
cool@archpony ~> gcc hmmm.c -o hmmm
hmmm.c:7:1: warning: useless storage class specifier in empty declaration
7 | };
| ^
cool@archpony ~> ./hmmm
Hello, world!
typedef struct struct_name {
} typename;
struct typename {
};
Выбери одно из двух.


