/in/foo.c:25:1: error: expected identifier or '(' before '}' token
}
^
/in/foo.c: In function 'main':
/in/foo.c:30:12: warning: zero-length gnu_printf format string [-Wformat-zero-length]
printf("");
^~
/in/foo.c:32:12: warning: zero-length gnu_printf format string [-Wformat-zero-length]
printf("", n1);
^~
/in/foo.c:35:22: error: 'a1' undeclared (first use in this function)
scanf("%d", &a1[i]);
^~
/in/foo.c:35:22: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:37:12: warning: zero-length gnu_printf format string [-Wformat-zero-length]
printf("");
^~
/in/foo.c:39:12: warning: too many arguments for format [-Wformat-extra-args]
printf("\n", n2);
^~~~
/in/foo.c:42:22: error: 'a2' undeclared (first use in this function)
scanf("%d", &a2[i]);
^~
/in/foo.c:44:12: warning: zero-length gnu_printf format string [-Wformat-zero-length]
printf("");
^~
/in/foo.c:46:12: warning: zero-length gnu_printf format string [-Wformat-zero-length]
printf("", n3);
^~
/in/foo.c:49:22: error: 'a3' undeclared (first use in this function)
scanf("%d", &a3[i]);
^~
/in/foo.c:52:27: error: 'merged1' undeclared (first use in this function)
Merge(a1, n1, a2, n2, merged1);
^~~~~~~
/in/foo.c:53:12: warning: zero-length gnu_printf format string [-Wformat-zero-length]
printf("");
^~
/in/foo.c:59:27: error: 'merged2' undeclared (first use in this function)
Merge(a1, n1, a3, n3, merged2);
^~~~~~~
/in/foo.c:60:12: warning: zero-length gnu_printf format string [-Wformat-zero-length]
printf("");
^~