Language: C

#include <stdio.h>
#include <math.h>

#define MAX 100000
#define ?? 3.141592

void calc(float** vertex, int deep, int min, int max);

int main() {
	int deep;
	int min, max;
	float vertex[MAX][2];
	int i;
	for (i = 0; i < MAX; i++) {
		vertex[i][0] = -1; //-1??§?????????
	}
	vertex[0][0] = 0;
	vertex[0][1] = 0;
	vertex[MAX - 1][0] = 100;
	vertex[MAX - 1][1] = 0;
	min = 0;
	max = MAX - 1;

	scanf("%d", &deep);

	calc(vertex, deep, min, max);
	
	for (i = 0; i < MAX; i++) {
		if (vertex[i][0] != -1) {
			printf("%lf %lf\n", vertex[i][0], vertex[i][1]);
		}
	}

	return 0;
}

void calc(float vertex[][2], int deep, int min, int max) {
	int s, t, u;
	if (deep <= 0) {
		return;
	}

	s = (max - min) / 3 + min;
	vertex[s][0] = (vertex[max][0] - vertex[min][0]) / 3.0;
	vertex[s][1] = (vertex[max][1] - vertex[min][1]) / 3.0;
	t = (max - min) * 2 / 3 + min;
	vertex[t][0] = (vertex[max][0] - vertex[min][0]) * 2.0 / 3.0;
	vertex[t][1] = (vertex[max][1] - vertex[min][1]) * 2.0 / 3.0;
	u = (max - min) / 2 + min;
	vertex[u][0] = vertex[s][0] + ((vertex[t][0] - vertex[s][0]) * cos(??/3) - (vertex[t][1] - vertex[s][1]) * sin(??/3));
	vertex[u][1] = vertex[s][1] + ((vertex[t][0] - vertex[s][0]) * sin(??/3) + (vertex[t][1] - vertex[s][1]) * cos(?? / 3));

	calc(vertex, deep - 1, min, s);
	calc(vertex, deep - 1, s, u);
	calc(vertex, deep - 1, u, t);
	calc(vertex, deep - 1, t, max);
}

Compiler output:
main.c:5:9: error: macro names must be identifiers
    5 | #define ?? 3.141592
      |         ^
main.c: In function 'main':
main.c:26:14: error: passing argument 1 of 'calc' from incompatible pointer type [-Wincompatible-pointer-types]
   26 |         calc(vertex, deep, min, max);
      |              ^~~~~~
      |              |
      |              float (*)[2]
main.c:7:19: note: expected 'float **' but argument is of type 'float (*)[2]'
    7 | void calc(float** vertex, int deep, int min, int max);
      |           ~~~~~~~~^~~~~~
main.c: At top level:
main.c:37:6: error: conflicting types for 'calc'; have 'void(float (*)[2], int,  int,  int)'
   37 | void calc(float vertex[][2], int deep, int min, int max) {
      |      ^~~~
main.c:7:6: note: previous declaration of 'calc' with type 'void(float **, int,  int,  int)'
    7 | void calc(float** vertex, int deep, int min, int max);
      |      ^~~~
main.c: In function 'calc':
main.c:50:76: warning: trigraph ??/ ignored, use -trigraphs to enable [-Wtrigraphs]
   50 |         vertex[u][0] = vertex[s][0] + ((vertex[t][0] - vertex[s][0]) * cos(??/3) - (vertex[t][1] - vertex[s][1]) * sin(??/3));
main.c:50:76: error: expected expression before '?' token
   50 |         vertex[u][0] = vertex[s][0] + ((vertex[t][0] - vertex[s][0]) * cos(??/3) - (vertex[t][1] - vertex[s][1]) * sin(??/3));
      |                                                                            ^
main.c:50:120: warning: trigraph ??/ ignored, use -trigraphs to enable [-Wtrigraphs]
   50 |         vertex[u][0] = vertex[s][0] + ((vertex[t][0] - vertex[s][0]) * cos(??/3) - (vertex[t][1] - vertex[s][1]) * sin(??/3));
main.c:50:120: error: expected expression before '?' token
   50 |         vertex[u][0] = vertex[s][0] + ((vertex[t][0] - vertex[s][0]) * cos(??/3) - (vertex[t][1] - vertex[s][1]) * sin(??/3));
      |                                                                                                                        ^
main.c:51:76: warning: trigraph ??/ ignored, use -trigraphs to enable [-Wtrigraphs]
   51 |         vertex[u][1] = vertex[s][1] + ((vertex[t][0] - vertex[s][0]) * sin(??/3) + (vertex[t][1] - vertex[s][1]) * cos(?? / 3));
main.c:51:76: error: expected expression before '?' token
   51 |         vertex[u][1] = vertex[s][1] + ((vertex[t][0] - vertex[s][0]) * sin(??/3) + (vertex[t][1] - vertex[s][1]) * cos(?? / 3));
      |                                                                            ^
main.c:51:120: error: expected expression before '?' token
   51 |         vertex[u][1] = vertex[s][1] + ((vertex[t][0] - vertex[s][0]) * sin(??/3) + (vertex[t][1] - vertex[s][1]) * cos(?? / 3));
      |                                                                                                                        ^