1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#include <stdio.h> #include <stdlib.h> typedef struct { int x; int y; } Point; struct Color { int r; int g; int b; }; int add(int a, int b) { return a + b; } void greet(const char* name) { printf("Hello, %s!\n", name); }